Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
problem with simple script
#1
Not Solved
Hi All,

Could someone help me with my simple script?
I do not understand why QTP can not find the object.
I recorded video to show you my steps.
[Link Removed: Not working any more]

Best Regards,
Marcin
Reply
#2
Not Solved
Hi Marcin,

is it possible for you to paste your steps here ?

Reply
#3
Not Solved
Hi Saket,

Below I pasted my steps:

Code:
Browser("Channel21 Logon").Page("Channel21 Logon").WebEdit("username").Set "nome2e@gbn997"
Browser("Channel21 Logon").Page("Channel21 Logon").WebEdit("password").SetSecure "4b1d24e7e17c22c0ac9e959d7f51ec64f9f01491f9752"
Browser("Channel21 Logon").Page("Channel21 Logon").WebEdit("password_2").SetSecure "4b1d24e85c85a2ec4547b4692ada2f870515354811b"
Browser("Channel21 Logon").Page("Channel21 Logon").WebEdit("password_2").Submit
Browser("Channel21 Logon").Page("GM GlobalConnect").Link("Workbenches").Click
Browser("Channel21 Logon").Page("GM GlobalConnect_2").Link("Inquire Vehicle").Click
Browser("Browser").Page("Page").WebButton("Ok").Click
Browser("Browser").Page("Channel21 - WVI 12.14-").WebRadioGroup("searchType").Select "vehicleNum"
Browser("Browser").Page("Channel21 - WVI 12.14-").WebEdit("vehicleNum").Set "123"
Browser("Browser").Page("Channel21 - WVI 12.14-").WebButton("Inquire").Click
I attached source file.
Regards,
Marcin


Attached Files
.txt   1.txt (Size: 9.76 KB / Downloads: 82)
Reply
#4
Not Solved
hi,

Pls verify this two lines

Code:
Browser("Channel21 Logon").Page("GM GlobalConnect").Link("Workbenches").Click
Browser("Channel21 Logon").Page("GM GlobalConnect_2").Link("Inquire Vehicle").Click
Browser("Browser").Page("Page").WebButton("Ok").Click

After Clicking on the first link again u have clicked second link
before closing the second browser opened by first link.


Code:
ALos Check ur object Identification Settings.[hr]
what is the diff between this two pages
Page("GM GlobalConnect")
Page("GM GlobalConnect_2")

Browser("Channel21 Logon").Page("GM GlobalConnect").Link("Workbenches").Click
Browser("Channel21 Logon").Page("GM GlobalConnect_2").Link("Inquire Vehicle").Click

Are this two link on different pages
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Add Simple Text Header mot0rola 2 2,347 07-09-2013, 10:30 AM
Last Post: Ankur
  simple excel automation excellentpawan 1 2,444 07-06-2013, 04:08 PM
Last Post: Ankur
  Script Editing Problem neerdeth 4 3,346 07-20-2012, 10:12 AM
Last Post: Shridevi.Salagare
  Problem recording simple script shik_and 4 4,601 04-16-2012, 05:49 PM
Last Post: saikri
  Simple problem-unable to trace a button on form skunkhead 1 2,151 01-14-2011, 07:19 PM
Last Post: amitspandey

Forum Jump:


Users browsing this thread: 1 Guest(s)