01-29-2010, 12:27 PM
if ur not using descriptive , u can add the objects and check using browser().page().link(Status).Exist or WebElement(Status).Exist.
if ur using descriptive, browser().page().link("html tag:=A","text:=Status").Exist or browser().page().link("html tag:=WebElement","text:=Status").Exist
u can also use a flag inside if condition and use it to check whether link/webelement is present.
Correct me if am wrong. i am new to QTP.
Regards,
Mallesh
if ur using descriptive, browser().page().link("html tag:=A","text:=Status").Exist or browser().page().link("html tag:=WebElement","text:=Status").Exist
u can also use a flag inside if condition and use it to check whether link/webelement is present.
Correct me if am wrong. i am new to QTP.
Regards,
Mallesh