Hi,
Problem is not as you understand. I am going to explain in detail.
Actually I am writing test script in ruby and I am using WATiR for same. ItÂ’s an automatic testing script. When I start the execution of script it entered value and test the web pages. I am giving one example for that. Suppose I have to test login page,!
so for
login page I have to entered user id and password in textbox and click the submit button. It will happen automatically.
So at first I write one library for login page then another fellow will call that library for testing of login page. The page structure is as
User Id:
| |
Password:
| |
So tester want to entered user id and password in the above textboxes, and tester does not know anything of textbox like id, name etc. but tester knows the name of label (i.e. User Id and Password), so he will pass the name of label and value which he/she wants to entered in that textbox.
So now I am not getting how I can write the code for this situation.
Please send me any sample if you get the time.
Thanks and regards,
-Prashant
Enjoy this Diwali with Y! India Click here
_______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
- [Wtr-general] Problem in WATiR pj jha
- Re: [Wtr-general] Problem in WATiR Zeljko Filipin
- [Wtr-general] Problem in WATiR pj jha
- Re: [Wtr-general] Problem in WATiR Sathya Shankar
- Re: [Wtr-general] Problem in WATiR Jan.Montano
- [Wtr-general] Problem in WATiR pj jha
- Re: [Wtr-general] Problem in WATiR Vishal Chavan
