Forum Discussion
HKosova
13 years agoSmartBear Alumni (Retired)
Hi Praveen,
To load a web page in a browser, you need to use the ToUrl method:
To load a web page in a browser, you need to use the ToUrl method:
The Sys.Process(...).Page(...) notation is for web pages that are already opened in a browser.
By the way, if you recorded your scenario, TestComplete would automatically generate a script with all the needed actions. It's a good, simple way to understand how to write TestComplete scripts for web testing automation.
I'd also recommend watching our screencasts and webinars about web testing automation -- they will also help you get started and learn some useful tricks:
Intro to Web Testing With TestComplete
Verifying Values of Web Page Elements
Automating Tests of Web Applications
Creating Reliable Tests For Dynamic Objects with Name Mapping
Related Content
Recent Discussions
- 3 days ago
- 3 days ago
- 6 days ago