Tuesday, 23 December 2014

How to handle Java tree in QTP?

1)How to handle Java tree in QTP?
You will need to select and load the Java Add-in. Then you can record and work on a Java Tree object just like you would with any other object.
2) How to give call to another action from one action?
Calling one action from the other can be done by “Inserting a call” to an existing action or by creating a new action.
3) How to find Operating system information using QTP script?
You can do that with the help of environment variable. The exact variable is, OS and OSVersion is for the version information.
4) How you can identify browser and its information using QTP script?
You can identify and act on any browser that you opened again by referring to its ‘creationtime’ property and use it like you would with a browser object in your OR.
5) How are actions and functions different in QTP?
Actions have their own Datatables and OR, but functions don’t. More importantly, Functions are a VB Scripting element, not only applicable to QTP.

No comments:

Post a Comment

Note: only a member of this blog may post a comment.