Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Difference between test object and run time object?

1010


Explain measuring transaction.

1046


Give the syntax to load function at run time.

1142


how to test load test and block box testing an a web based application pls give ans briefly

1842


How to integrate the qualitycenter with qtp

2277


Explain the difference between check point and output value?

1006


What are the features and benefits of quick test pro (qtp 8.0)?

1147


Hi, Can anyone please tell me how to connect the QC with QTP using QTP script? Thanks in advance

1926


What is the registration process and examination fees?

1086


Describe function procedure in vbscript.

1138


What is test object model in quicktest professional (qtp)?

1001


how to disable the pop ups through QTP using a script

2282


What is qtpro? What is quick test pro?

1058


How to change the priorities of the recovery scenario properties?

1178


Problem with XML checkpoint in QTP ?

3923