How will you handle the situation when object is not captured during record?
How will you handle the situation when object is not captured during record?
Re: How will you handle the situation when object is not captured during record?
Add the objects to Object repository.
And manually write the code as per the hierarchy of the OR.
Sometimes it happens that it may be not able to record the evnts performed by you.
So we need to write script ...it works fine..
Re: How will you handle the situation when object is not captured during record?
Hi,
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