Interview Questions   Tutorials   Discussions   Programs   Videos   

QTP - How will you handle the situation when object is not captured during record?




300
views
asked marvit August 20, 2014 08:52 AM  

How will you handle the situation when object is not captured during record?


           

1 Answers



 
answered By Dharma   0  

Descriptive Programming can handle this situation,when QTP is not able to record the actions performed in the application.

Create description method for the object on which the action is performed.
For Instance,

Dim WindowDesc
Set WindowDesc = Description.Create()
windowDesc("text").value = "Login"
Dialog(windowDesc).Activate
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