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..

Answers were Sorted based on User's Feedback



Hi Frriends... I have one Query please give the apropriate ans. when we r working with web bas..

Answer / 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

Hi Frriends... I have one Query please give the apropriate ans. when we r working with web bas..

Answer / softwaretester4u

use regular expression of the login name means yahoologin ,
give yahoo.* like depend upon mecury tool.

Is This Answer Correct ?    0 Yes 1 No

Hi Frriends... I have one Query please give the apropriate ans. when we r working with web bas..

Answer / surendra

hi .. when we insert regular expression, at that time also
the script is not running properly and also the smart
identification is disabled when we insert regular
expression...

please Provide another solution..

Thanx in advance.

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More QTP Interview Questions

How do client side image and server side image work?

0 Answers  


can any body clearly explain about keyword driven framework .give me the explanation for files what ever you use in this frame work?

0 Answers   Sapient, Satyam, TCS,


After fixing the bug, the same bug is raising again and again in new builds what we have to do? That bug is high level bug.

4 Answers   V2 Solutions,


when u script reveiwing in which area u more concentrates?

0 Answers   IBM,


Explain data driven framework?

0 Answers  






how can you describe the basic flow of automation with conditional and programmatic logic?

1 Answers   Ordain Solutions,


What are the different recording modes and how do they work?

0 Answers  


tell me exact differenceb bw qtp and selenium?(could not tell open soure and licennce? difference in usage and technical difference?

0 Answers  


hai,i want to select an option from the right click pop up menu.but the qtp is not recognizing the right click pop up menu as a seperate object.can any one tell me the solution.

4 Answers   HP,


how u will describe testing activities?

2 Answers  


can onyone tell me how to comapre the output of two different Data Bases in QTP?

1 Answers  


Explain xml checkpoints.

0 Answers  


Categories