Tags » Qtp

Read CAPTCHA images from UFT/QTP

Can we read Captcha images from UFT/QTP???
Yes!!!!

Solution:

*** Need to Zoom the Application upto 400%(Worked for me) and try to execute the below code… 26 more words

QTP

Close All Opened Browsers Except HP Quality Center/ALM

Option : I

Function CloseIEExceptALM()
On Error Resume Next
iCurItr = 0
bExit = False
Do
Set objDlg = Dialog("regexpwndtitle:=.*Internet Explorer.*","Index:=" & iCurItr)
If Dialog("regexpwndtitle:=.*Internet Explorer.*","Index:=" & iCurItr).Exist(0) Then… 266 more words

QTP

Automation Introduction | QTP/UFT Basics | Training material | Guide lines | Sample Codes|

Ways of Testing:

                   There are two ways of Testing

                                                                 1.Manual Testing

                                                                 2.Automation Testing

1.Manual Testing:

                        It is a way of testing in which one will perform all the phases of software testing life cycle like Test planning, Test development, Test execution, Result analysis, Bug tracking, and Reporting are accomplished manually, successfully with human efforts… 9,885 more words

QTP

Convert JSON to XML using QTP/UFT/VBScript

Sample Code :

Dim strPage,strJSON,objIE

strPage = “C:\Jay\JLoader.html”

Set objIE = CreateObject(“InternetExplorer.Application”)

objIE.Visible = True

objIE.Navigate2 strPage

While objIE.Busy : Wend

strJSON = “{“”FirstName””:””Jay””, “”LastName””:””Krishna””}” 201 more words

HP

QTP\UFT: Action template

Action template in UFT

1.  Go to your UFT installation folder

2.  Go to dat folder and find ActionTemplate.mst file

3.  Open the ActionTemplate.mst file with Notepad… 50 more words

Automation

QTP/UFT: Excel Data Import/Export

QTP/UFT: Excel Data Import/Export at Run-time DataTable

””##########################################################

Dim WshShell
‘Dim WshSysEnv
Set WshShell = CreateObject (“WScript.Shell”)

OSType = Environment.Value(“OS”)
OsXp = “Microsoft Windows XP” 494 more words

Automation