Hi Frriends...
I have one Query please give the apropriate ans.
when we r working with web based application , the user
loggedin page name is changed respect to the username (
Take a exp. Yahoomail.com) .When we use Datadriven test to
this scenario ,each time the loggedin page name is
changed ...then the script is fail.. at that time wat can
do...
please give the apropriate ans.
Thanx in advance..
Answer Posted / aravindh
Hi, Try Descriptive Programming. It should work
datatable.importsheet "Table.xls",1,1
Cnt=datatable.getrowcount()
SystemUtil.Run "http://www.yahoo.com/"
Browser("micClass:=Browser").Page("micClass:=Page").Link
("micClass:=Link","name:=Mail").Click
Browser("micClass:=Browser").Page("micClass:=Page").WebEdit
("micClass:=WebEdit","name:=login").Set datatable
("UserName",Global)
Browser("micClass:=Browser").Page("micClass:=Page").WebEdit
("micClass:=WebEdit","name:=passwd").Set datatable
("Password",Global)
Browser("micClass:=Browser").Page
("micClass:=Page").WebButton
("micClass:=WebButton","name:=Sign In").Click
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
Difference between test object and run time object?
Explain measuring transaction.
Give the syntax to load function at run time.
how to test load test and block box testing an a web based application pls give ans briefly
How to integrate the qualitycenter with qtp
Explain the difference between check point and output value?
What are the features and benefits of quick test pro (qtp 8.0)?
Hi, Can anyone please tell me how to connect the QC with QTP using QTP script? Thanks in advance
What is the registration process and examination fees?
Describe function procedure in vbscript.
What is test object model in quicktest professional (qtp)?
how to disable the pop ups through QTP using a script
What is qtpro? What is quick test pro?
How to change the priorities of the recovery scenario properties?
Problem with XML checkpoint in QTP ?