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

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

I have 5 no.of Action in my Test. Out off which i should make 3rd action as my start-up action. How should i make it?

5 Answers  


request to add whatsapp grp for test engineer

1 Answers  


in login module login button chage regularly(means login button change to submit button).What is the code for it.

3 Answers  


Hi Friends, Would be great if you can provide the Model Question paper, Web site link or any reference s. Thanks & Regards, Byzoor,

0 Answers  


What are the different types of checkpoints?

0 Answers  


when I try to run below script in QTP "totalPages" value is 2. But i am getting error message (Type mismatch: 'totalPages' Line (): "For i=1 to totalPages".) totalPages=Browser("Name:=User").Page("Title:=User").WebElem ent("innertext:=of.*").GetROProperty("InnerText") msgbox totalPages For i=1 to totalPages rnum=Browser("Name:=User").Page("Title:=User").WebTa ble("column names:=User Name;ID;Last Name;First Name").GetRowWithCellText("store4") If rnum>0 Then r=rnum Exit for End If Browser("Name:=User").Page("Title:=User").WebElement ("html tag:=A","x:=471").Click MsgBox "Exit" Next

1 Answers  


Can we record an application running on a remote machine using qtp?

0 Answers  


What is the current version of QTP?

19 Answers  


Explain xml checkpoints.

0 Answers  


What is a Run Time Data table?

1 Answers  


how to reverse a string with out using string or predefined function,ex:string is " i love india". the output should be like this "i evol aidni"

10 Answers   Aspire, MNC, Omega,


if our qtp vb Script may be Currepted then What we want do?

0 Answers   IBM,


Categories