Forum Discussion
HKosova
13 years agoSmartBear Alumni (Retired)
Hi Geeth,
TestComplete and QTP use different test object models, and QTP scripts are generally incompatible with TestComplete.
To see how TestComplete identifies applications, windows and objects, you can use the Object Browser.
If you need to check if the web browser is running, you can use the following code in TestComplete:
Or, using Eval:
Here're also some links to TestComplete web testing resources that you may find useful:
Intro to Web Testing (video)
Verifying Values of Web Page Elements (video)
Automating Tests of Web Applications (webinar recording)
Testing Web Applications Tutorial
Testing Web Applications (help docs)
Functional Testing of ASP.NET Web Pages With TestComplete (article)
TestComplete and QTP use different test object models, and QTP scripts are generally incompatible with TestComplete.
To see how TestComplete identifies applications, windows and objects, you can use the Object Browser.
If you need to check if the web browser is running, you can use the following code in TestComplete:
If Sys.WaitProcess("iexplore").Exists Then
' IE is running
Else
' IE isn't running
End If
Or, using Eval:
strIE = "Sys.WaitProcess(""iexplore"")"
Set ie = Eval(strIE)
If ie.Exists Then
' IE is running
Else
' IE isn't running
End If
Here're also some links to TestComplete web testing resources that you may find useful:
Intro to Web Testing (video)
Verifying Values of Web Page Elements (video)
Automating Tests of Web Applications (webinar recording)
Testing Web Applications Tutorial
Testing Web Applications (help docs)
Functional Testing of ASP.NET Web Pages With TestComplete (article)