Interview Questions   Tutorials   Discussions   Programs   Videos   

QTP - By using QTP, How do you test a frame in a web page?




264
views
asked marvit August 28, 2014 04:49 AM  

By using QTP, How do you test a frame in a web page?


           

1 Answers



 
answered By Dharma   0  
Set oEdit = Browser("TinyMCE - Full featured").Page("TinyMCE - Full featured").Frame("Frame").WebElement("BODY")
'Set the focus
oEdit.Click
 
'Create device replay object
Set oDR = CreateObject("Mercury.DeviceReplay")
 
'Send some text
oDR.SendString "This is a test"
flag   
   add comment

Your answer

Join with account you already have

FF

Preview


Ready to start your tutorial with us? That's great! Send us an email and we will get back to you as soon as possible!

Alert