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

Which respective symbols are used to separate a line and to break the lengthy statement into multiple statements in the vbscript language?

0 Answers  


What is the use of the date function in the vbscript language?

0 Answers  


Consider there are objects in a webapp which are identified by QTP. Suppose you know only the logical name of a object(absolutely nothing else about it). Which approach will you take to find the "micClass" of the object(You can't use Object Spy, or can't add the object in repository)?

2 Answers   HCL,


VBscript for QTP,best tutorial?

2 Answers   Wipro,


How to delete a cookie using vbscript?

0 Answers  


What is a class in CSS?

1 Answers  


Description.Create

0 Answers   IBM,


How to replace junk code recorded by QTP with a mall function.

0 Answers  


How will you convert a string to upper case string using vbscript?

0 Answers  


I want to import the sheet from the Excel to the Datatable using VB Script. I used the Syntax as 'Datatable.ImportSheet "Filename","SourceSheet","Destinat ionSheet" Ex: Datatable.ImportSheet "D:\Data1.xls","Sheet1","Global" Qtp producing run time error,How I can solve the problem

1 Answers  


Can u describe what kind of testing are for OTC derivates by banks.

0 Answers   BoA,


For a webbased application:- what should be code in expert veiw, for retrieving a single column name "username" from a server and checking whether exported "username" from datatable doesn't exist in server. suppose i have saved in excelsheet a username="gayatri" , which is exported, then checked for whether this username "gayatri" exist in server database or not ? if exist then allow to enter new username, which should be again checked for in loop , or else come out of loop and enter a distinct "username". plz let me have this answer in my id gayatrisahooin@hotmail.com

0 Answers  


Categories