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
What if recovery scenarios is also failed for identify the alert ? (We are handling unexpected popup through recovery scenarios but if still recovery scenarios also failed than what should be the approach)
Explain the concept of object repository and how quicktest professional (qtp) recognises objects?
Hi, My name is kishan. I have good Conceptual Knowledge on QTP. In order to Boost up my Confidence Level, I want to do a Project oriented Training only on QTP in Hyderabad. Kindly Let me know which is the Best QTP Project Training Institute in Hyderabad. Thanks in Advance kishan
Explain how you can delete excel file in qtp?
What are the recording modes in wave event?
I want to test my vb.net solution file using qtp. Does Qtp test only .exe file?
What are the common defects found in your project? (in qtp interview)
How would you export a script from one pc to another in qtp?
Why qtp always start action1 and does not start action?
How to build scripts that access data from external sources?
What is 'sleep' in sync point?
What are the types of object repositories? Which one is you are using?
Explain about business process component? types and usage?
Can launch two instances of qtp on the same machine?
How many add-ins comes by default with quicktest professional?