QTP Script for Textbox

Script to enter value into Textbox

Dialog("Login").WinEdit("Agent Name:").Set "laxmiii"



Script to check whether particular textbox exist or not

If Dialog("Login").WinEdit("Agent Name:").Exist Then
Msgbox "The Textbox exists"
Else
Msgbox "The Textbox does not exist"
End if

If Textbox is present we get message as Textbox exist else we get message as Textbox doesnt exist.

QTP Script for Combo box and other Controls

No comments:

Related Posts Plugin for WordPress, Blogger...

Fun and Knowledge