Facebook

For any corporate training requirements Please mail To sudhakar@qtpsudhakar.com
Course Name Date Time Duration Type Location
WhatsApp to 91-8328152362 for address details of AnyTechLabs
Selenium + Appium 27th February 2019 7.00 AM IST to 8:45 AM IST 45 Days Class Room + Online AnyTechLabs
Selenium + Appium 9th March 2019 9.00 AM IST to 2.00 PM IST 5 WeekEnds Class Room + Online AnyTechLabs

A book "Cracking the QTP interview" authored by Sudhakar.Read More. Buy From FlipKart

Tuesday, November 3, 2009

Check whether QTP script is Opened in Read Only Mode?

Check whether QTP script is Opened in Read Only Mode?

Dim pTitle

pTitle= window("text:=QuickTest Professional - .*").GetROProperty("text")

If instr(1,right(pTitle,12),"(Read-Only)")<>0 then
 msgbox "Test Opened in Read Only Mode"
Else
 msgbox "Test Opened in Edit Mode"
End If

'*******************************************************

____________________________________________________________


Please send your Suggestions and Doubts to my yahoo group http://in.groups.yahoo.com/group/qtpsudhakar

No comments :

Post a Comment