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 perform cross platform testing and cross browser testing using qtp? Can you explain giving some example?
Hi there, I've installed a trial version of QTP to see if it works with my product but I cant automate selecting windows from a tree view? Can anyone give me any pointers? Many Thanks
how to convert 100 into hundred repees only and viceversa
What are the views available in quicktest professional?
distinguish between old version and new version QTP features.
How may types of defects identify application or your currently working application?pls give me answer..
what is the difference between modular framework & datadriven framework
What kinds of security (firewalls, encryptions, passwords, etc.) will be required and what is it expected to do? How can it be tested?
What is regular expression?
What is the difference between qtp and selenium?
How can you identify the browser and its information using the qtp script?
tell me exact differenceb bw qtp and selenium?(could not tell open soure and licennce? difference in usage and technical difference?
An action has both shared and local OR associated with it and both have the same object in them. In the test which one will be considered?
how to find that a file has been completely downloaded or not? I told that "download Complete" pop up. but he told the tool doesn't recognize the pop up
Explain hybrid framework with advantages and disadvantages?