tags:

views:

42

answers:

2

Hi,

Can anybody tell me ,how to parameterize link elements in QTP. As i have an order number in my application. I click on that number to find its detail..QTP save this as a link..Now i want to see deatil of another order...I have perameterize the oredr number..Now QTP pick new number from datasheet...But as the link saved is for the previous order so that order is getting opened not the new one....

+1  A: 

If you use descriptive programming, parameterize object description through variable.

Example:

 [...].Link("name:=order" & intOrderNumber)

If you use mapping through repository, parameterize property value directly to datatable. You can find a very good explanation with screenshots in QTP help.

Albert Gareev
A: 

Yeah Albert, I am doing record and Play(Vb script)..And i think link element is not parameterized directly ..I have to do same changes into saved script..can you please help me in that....I have made a column with order number in datasheet...

galstar
I am not able to find that snapshot(I am a beginner to QTP )
galstar