11-21-2008, 03:21 AM
Hi, i am using QTP 9.0, in web application i want to test link.
When entering
i get the link - KP with random number in brackets [for example "KP (219)", "KP (11)"].
But in my case link is also "KP" [without brackets]. And i can not get the right statement for that the link - "KP (1)" "KP(random number)" and also in case "KP" the link CLICKS [/code]
When entering
Code:
Browser("browsername").Page("browserpage").Link("KP (1)").Click RandomNumber(0, 100)
i get the link - KP with random number in brackets [for example "KP (219)", "KP (11)"].
But in my case link is also "KP" [without brackets]. And i can not get the right statement for that the link - "KP (1)" "KP(random number)" and also in case "KP" the link CLICKS [/code]