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


hai all.iam chandu..please let me know how to test a link
in QTP when it is changing at run time..and what property
we should take while we r using descriptive programming for
a link..

Answers were Sorted based on User's Feedback



hai all.iam chandu..please let me know how to test a link in QTP when it is changing at run time....

Answer / sangee

U can get the value by using Object Spy and get the properties
which ever u want.

Is This Answer Correct ?    3 Yes 0 No

hai all.iam chandu..please let me know how to test a link in QTP when it is changing at run time....

Answer / chaitanyakumar.chivukula

we can test the frequently changed object like links or
buttons...etc with the help of DP...

we can test dynamicly changed links with help of DP with
Reg.Exp or creation of time.

Set link = Description.Create()

link("innertext").Value = "xxx"
link("innertext").Reg.Exp = "xxx"

Browser(Broswer).page(Page).weblink(link).click

Is This Answer Correct ?    2 Yes 0 No

hai all.iam chandu..please let me know how to test a link in QTP when it is changing at run time....

Answer / mulugu

href link in the properties

Is This Answer Correct ?    1 Yes 0 No

hai all.iam chandu..please let me know how to test a link in QTP when it is changing at run time....

Answer / pravati

set obj=Description.create()
obj("micclass").value="Link"
set linkobj=Browser("micclass:=Browser").page("micclass:=page").childobjects(obj)
for i=0 to linkobj.count -1
x=linkobj(i).Getroproperty("name")
if trim(x)="forgotten password?" then
linkobj(i).click
exit for
end if
next

Is This Answer Correct ?    0 Yes 0 No

hai all.iam chandu..please let me know how to test a link in QTP when it is changing at run time....

Answer / ll

let me now answer

Is This Answer Correct ?    0 Yes 1 No

hai all.iam chandu..please let me know how to test a link in QTP when it is changing at run time....

Answer / anuj

From where will u get value of "XXX" ???

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More VB Script Interview Questions

What is the main difference between function and sub-procedure?

0 Answers  


Which operator is used for fetching the modulus of the 2 numbers in the vbscript language?

0 Answers  


which one is more secure vb script or java script ??????? or both are same ??????

3 Answers  


Dear All, I am geting below IE error whilie executing the QTP scripts in Batch mode "Internet Explorer has encountered a problem and needs to close. We are sorry for the inconvenience." can any one suggest me how to resolve this issue . Thanks Balaji

0 Answers  


What is the use of the ‘open’ method to work with the database in the vbscript language and what connection string is passed in the same and what is its usage?

0 Answers  


How many types of operators are available in the vbscript language?

0 Answers  


What is the difference between vbscript and vba?

0 Answers  


how to organize files in object repository of qtp

1 Answers  


what does create object actually do when you call it in vbscript?

1 Answers   Cap Gemini,


about vb scripting programs this type of all question& answers

0 Answers  


can anyone send me a vb scripts code for clicking on a link and coming back on home page again does the same for many links on a web page.

0 Answers   Synechron,


how to write code: to check whether the window of an Application Under Test exist or not . plz give with example

2 Answers  


Categories