Hello Uday, I have worked on your scenario it is working fine.
Browser("M-Turbo Ultrasound Machine.").Page("M-Turbo Ultrasound
Machine.").WebElement("C60x").Click
Nameonthebutton=Browser("M-Turbo Ultrasound Machine.").Page("M-Turbo
Ultrasound Machine.").WebElement("C60x").GetROProperty("class")
If Nameonthebutton="product-quote quote-saved-button" Then
MsgBox "Pass"
Else
Msgbox "Fail"
End If
Please add the button with the outerhtml, htmltag, and use the above code.
I have attached the action also please check
--
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en
uday.7z
Description: Binary data
