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
How to define array in qtp?
What are the differences between quicktest professional (qtp) and winrunner?
Explain advantages and disadvantages of ddf?
I want to open a Notepad window without recording a test and I do not want to use System utility Run command as well. How do I do this?
What are the types of object repositories? Which one is you using?
i need to add 1000 users in a domain i written the script for that and it is running successfuly but the problem is that my system is not the user of that domain in which i have to add users so for adding users in that domain i have to install qtp on that another system, can anybody suggest me the way to add those users from my system ultimately i want to know how to access remote computer through script
Describe the differences between functions and actions in UFT?
Which features or drawbacks of QTP lead to the upgrade for a newer version?
How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s.
How qtp recognizes the object?
can anyone tell me what to say in interview when interviewer asks about "tell me about your framework in your project"?
Explain the concept of how quicktest professional identifies object?
What is meant by Step generator?what is the use of this? we have 3 steps know there what r all those.? can u all pls give me clear idea of this
Hello, Is there any way to send the test results in html format (or any other) by email using outlook after the test run ends? thank you in advance
Can anybody post some real time scenario in qtp? please its very urgent.