Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QTP: code is not working as expected
#1
Not Solved
I have just started learning QTP and wrote a below simple code :

Code:
Systemutil.Run  "iexplore.exe","www.google.com"

Browser("Google").Page("Google").WebElement("Gmail").Click
What I am trying to do is

launching the IE and opening the www.google.com
Click on the Gmail link which is present on the google page itself.

When I am running the code the problem I am facing is two separate google page are getting open.

I just want to open one page and do my operation.

Thanks
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Code to run all QTP scripts and see all results Pkapoor 11 17,852 08-15-2017, 02:58 AM
Last Post: Ravi
  Expected End statement error Lavanya N 2 5,165 07-27-2015, 01:52 PM
Last Post: Lavanya N
  How to check expected cookies are present or not priyanka.agarwal 0 1,973 07-02-2015, 12:43 PM
Last Post: priyanka.agarwal
  Close browser code not working akilamurugesh 1 4,640 08-26-2014, 03:21 PM
Last Post: vinod123
  Validate Numeric value is displaying expected format kalaivanan123 1 3,508 09-23-2013, 08:45 PM
Last Post: ravi.gajul

Forum Jump:


Users browsing this thread: 2 Guest(s)