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

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)

1502


Explain the concept of object repository and how quicktest professional (qtp) recognises objects?

1004


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

2452


Explain how you can delete excel file in qtp?

997


What are the recording modes in wave event?

1954


I want to test my vb.net solution file using qtp. Does Qtp test only .exe file?

2156


What are the common defects found in your project? (in qtp interview)

1994


How would you export a script from one pc to another in qtp?

1049


Why qtp always start action1 and does not start action?

1033


How to build scripts that access data from external sources?

2049


What is 'sleep' in sync point?

1043


What are the types of object repositories? Which one is you are using?

1113


Explain about business process component? types and usage?

1990


Can launch two instances of qtp on the same machine?

1016


How many add-ins comes by default with quicktest professional?

891