Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QTP queries-Help Required to run the script
#1
Not Solved
Code:
SwfWindow("Streme : Location Manager").SwfTreeView("trvHirachy").Select "NicheSoftek", micRightBtn
SwfWindow("Streme : Location Manager").SwfTreeView("trvHirachy").WinMenu("ContextMenu").Select "Add Node"
SwfWindow("Streme : Location Manager").SwfWindow("Streme :  Node").SwfEdit("txtNodeName").Set "we"
SwfWindow("Streme : Location Manager").SwfWindow("Streme :  Node").SwfButton("OK").Click
SwfWindow("Streme : Location Manager").SwfTreeView("trvHirachy").Select "NicheSoftek;we"
SwfWindow("Streme : Location Manager").SwfTreeView("trvHirachy").Select "NicheSoftek;we", micRightBtn
SwfWindow("Streme : Location Manager").SwfTreeView("trvHirachy").WinMenu("ContextMenu").Select "Add Location"
SwfWindow("Streme : Location Manager").SwfWindow("Streme : Location Detail").SwfEdit("txtLocationName").Set "as"
SwfWindow("Streme : Location Manager").SwfWindow("Streme : Location Detail").SwfButton("OK").Click
SwfWindow("Streme : Location Manager").SwfTreeView("trvHirachy").Select "NicheSoftek;we;as"
SwfWindow("Streme : Location Manager").SwfTreeView("trvHirachy").Select "NicheSoftek;we;as", micRightBtn
SwfWindow("Streme : Location Manager").SwfTreeView("trvHirachy").WinMenu("ContextMenu").Select "Add Display"
SwfWindow("Streme : Location Manager").SwfWindow("Player Details:").SwfEdit("txtSynchronizeServer").SetSelection 0,13
SwfWindow("Streme : Location Manager").SwfWindow("Player Details:").SwfEdit("txtSynchronizeServer").Set "c"
SwfWindow("Streme : Location Manager").SwfWindow("Player Details:").SwfEdit("txtIPAddress").Type micCtrlDwn + "v" + micCtrlUp
SwfWindow("Streme : Location Manager").SwfWindow("Player Details:").SwfEdit("txtIPAddress").SetSelection 0,25
SwfWindow("Streme : Location Manager").SwfWindow("Player Details:").SwfEdit("txtSynchronizeServer").Set ""
SwfWindow("Streme : Location Manager").SwfWindow("Player Details:").SwfEdit("txtSynchronizeServer").Type micCtrlDwn + "z" + micCtrlUp
SwfWindow("Streme : Location Manager").SwfWindow("Player Details:").Close
SwfWindow("Streme : Location Manager").SwfTreeView("trvHirachy").Select "NicheSoftek;we;as", micRightBtn
SwfWindow("Streme : Location Manager").SwfTreeView("trvHirachy").WinMenu("ContextMenu").Select "Add Display"
SwfWindow("Streme : Location Manager").SwfWindow("Player Details:").SwfEdit("txtSynchronizeServer").SetSelection 0,13
SwfWindow("Streme : Location Manager").SwfWindow("Player Details:").SwfEdit("txtSynchronizeServer").Set "c"
SwfWindow("Streme : Location Manager").SwfWindow("Player Details:").Close
SwfWindow("Streme : Location Manager").SwfTreeView("trvHirachy").Select "NicheSoftek;we;as", micRightBtn
SwfWindow("Streme : Location Manager").SwfTreeView("trvHirachy").WinMenu("ContextMenu").Select "Add Display"
SwfWindow("Streme : Location Manager").SwfWindow("Player Details:").SwfEdit("txtIPAddress").Set "192.168.4.171"
SwfWindow("Streme : Location Manager").SwfWindow("Player Details:").SwfObject("groupBox3").Click 244,206
SwfWindow("Streme : Location Manager").SwfWindow("Player Details:").SwfEdit("txtName").Set "disp1"
SwfWindow("Streme : Location Manager").SwfWindow("Player Details:").SwfSpin("txtIntervalTime").Set 720
SwfWindow("Streme : Location Manager").SwfWindow("Player Details:").SwfTab("tabDisplayDetails").Select "Download Details"
SwfWindow("Streme : Location Manager").SwfWindow("Player Details:").SwfRadioButton("Disconnected").Set
SwfWindow("Streme : Location Manager").SwfWindow("Player Details:").SwfButton("Save").Click
SwfWindow("Streme : Location Manager").SwfWindow("Player Details:").Dialog("Display Properties").WinButton("OK").Click
SwfWindow("Streme : Location Manager").SwfWindow("Player Details:").SwfButton("Close").Click



I am having the following script.
But while running the script I am facing the error whose snapshot is attached here.
Please do guide me on resolving this error.


Attached Files Image(s)
   
Reply
#2
Not Solved
Hi ,

Add Object to the Object Repository and try to Highlight the application..


This should help

Did u try this ??


Thanks,
UFTEnthusiast
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to send/pass UFT Run Error Dialog as output value to main driver script lravi4u 0 583 11-05-2023, 03:55 PM
Last Post: lravi4u
  How do you Change Run mode mid script? Caleytown 6 7,194 03-25-2021, 08:27 AM
Last Post: RB26578
  Unable to identify "Authentication Required" Dialog shaunysj 2 3,202 08-04-2015, 12:55 PM
Last Post: venkatesh9032
  code required for the following scenarios krithikaachari 0 2,221 09-27-2014, 01:00 AM
Last Post: krithikaachari
  How to run driver script to kick off scripts stored in QC? shipu 0 3,592 04-30-2014, 02:39 AM
Last Post: shipu

Forum Jump:


Users browsing this thread: 2 Guest(s)