Hello Deepu,

Here is another link that might answer some of your questions.
http://wiki.openqa.org/display/WTR/Demystifying+Keyword+Driven+Using+WATIR

On Nov 14, 9:14 am, Deepu V nair <[email protected]> wrote:
> Hi,
>
> I am pretty new to Watir and have few doubts.
>
> 1. Can watir read data from Excel ? Give me a Sample case
> 2. Can watir read data as well as object details from excel and put in the
> script . Example i have an example with the page link( saywww.google.com)
> , Object details ("q") and values ("pixaxe")
> and i want call all these details in excel
>
> ie.text_field(:name,"q").set("Revolution") please convert this statement in
> such a way that my doubt will be clarified.
>
> PS: Note that i am new to watir so please use simple example and simple
> explanation
> Thanks in advance
> Deepu V
>
>
>
>
>
>
>
> On Mon, Nov 14, 2011 at 10:42 PM, Adam Reed <[email protected]> wrote:
> > Edit/Update:  I have handled this in other cases by including a flat
> > file in Subversion with the variable names for user/pass, but no user
> > information.  In order for the script to run, the user (me) has to add
> > their credentials to the file and make sure not to check it back into
> > Subversion once changes are made.  Is that as good as it gets?
>
> > On Nov 14, 10:55 am, Adam Reed <[email protected]> wrote:
> > > This started out as an encryption question, but it may end up being a
> > > testing best practice question.  I have an application that is not
> > > customer-facing, so new accounts cannot be created.  It uses personal
> > > Active Directory information, and we have no (nor are we allowed to
> > > obtain) test accounts for Active Directory.
>
> > > I have a personal account that can access the content to be tested,
> > > but I do not want my AD password to be easily obtained.  I am using
> > > Jenkins to launch scripts so I can easily prompt the user for a
> > > password and store it in a variable to be used... but I know how easy
> > > it would be to then log these passwords to a flat file.  I'd like to
> > > provide more security for coworkers if I'm setting up a system that
> > > accepts user input (instead of using my own as an encrypted master for
> > > the script).
>
> > > The test case is pretty standard - log in, assert a few features and
> > > functions and that's it.  I looked into AES encryption thinking that I
> > > would encrypt the password manually and then take the encrypted string
> > > and paste it into a decrypt function in the script... but that
> > > function would obviously list the decryption keys so it's really only
> > > adding a step of obfuscation to the process of retrieving the
> > > password.
>
> > > What's the best practice for this scenario?
>
> > > Thanks,
> > > Adam
>
> > --
> > Before posting, please readhttp://watir.com/support. In short: search
> > before you ask, be nice.
>
> > [email protected]
> >http://groups.google.com/group/watir-general
> > [email protected]<http://groups.google.com/group/watir-general%0Awatir-general+unsubscr...>

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

[email protected]
http://groups.google.com/group/watir-general
[email protected]

Reply via email to