Ravik
12 years agoSuper Contributor
How to work for URL handling in TestComplete8
How to work for URL handling in TestComplete8.
Suppose my application is role out on three environment - Local, Test and Production.
On all Environment URL is different .
like -
1- local\google.com
2- test\google.com
3- google.com
Suppose I made one object for Search (Text box and Seach button) on "local\google.com"
like-
set Search = Sys.process("explore").page("local\google.com
").Panel("Google").Cell(1, 2)
Now I want to be user same thing on "test\google.com" and "google.com" while trying to run same code, I am facing Object Not found issue (becouse of URL is changed)
In TestComplete8 how we can handle url.
Please help us.
Thanks
Ravik
Suppose my application is role out on three environment - Local, Test and Production.
On all Environment URL is different .
like -
1- local\google.com
2- test\google.com
3- google.com
Suppose I made one object for Search (Text box and Seach button) on "local\google.com"
like-
set Search = Sys.process("explore").page("local\google.com
").Panel("Google").Cell(1, 2)
Now I want to be user same thing on "test\google.com" and "google.com" while trying to run same code, I am facing Object Not found issue (becouse of URL is changed)
In TestComplete8 how we can handle url.
Please help us.
Thanks
Ravik
- Hi,
You might be able to use a wild card:
http://support.smartbear.com/viewarticle/33366/
Maybe:
set Search = Sys.process("explore").page("*").Panel("Google").Cell(1, 2)