
Loading ...
HTML and XML are very common entities in the testing/automation world. At time we are required to convert the HTML/XML to a Plain text version. Example of such a conversion can be seen below
<HTML><BODY><FONT color="red">Click on the Login link</FONT></BODY></HTML>
The converted text for about HTML would be “Click on the Login link”. One example of such [...]
Register or Login to read the full article...
Tags used -
Convert, HTML, Plain, Strip, text, XML

Loading ...
This article discusses how we can convert an Object repository based script to DP based script. For this we will do a simple recording of entering some text on Google.com search text box and clicking the Google search button
The QTP generated script would look something like below
SystemUtil.Run "C:\Program Files\Internet Explorer\IEXPLORE.EXE"
Browser("Browser").Page("Page").Sync
Browser("Browser").Navigate "http://www.google.com"
Browser("Browser").Page("Google").WebEdit("q").Set "KnowledgeInbox"
Browser("Browser").Page("Google").WebButton("Google Search").Click
All the names [...]
Register or Login to read the full article...
Tags used -
Convert, Descriptive, Descriptive Programming, Object, Object Repository, OR, Repository

Loading ...
QTP provides extern object for declaring Windows API, but converting normal Windows API definitions to QTP extern declaration statements can take a good amount of time. This tool can be used to convert VB API definitions to QTP Extern declarations.
The tool comes with source code. It is a very good example for people how like [...]
Read the full article...
Tags used -
API, Convert, Converter, Convertor, Declare, Extern, Extern.Delcare, Tool