Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to select a Checkbox on a Poup screen in QTP9.2
#1
Not Solved
Hi,

While recording a script for selecting a checkbox on pop up screen..the script appears to be :
Code:
JavaWindow("Sales_BasicFlow").JavaDialog("Optional Service Selection").JavaTable("Select Services for 0000374914").SetCellData "#1","Select","1"

If i run the same script i get error saying:"The operation could not be performed"

If I alter the script to
Code:
''JavaWindow("Sales_BasicFlow").JavaDialog("Optional Service Selection").JavaTable("Select Services for 0000374914").SelectCell "#1" ,"Select"
Then also the same error is observed.

But if i select the Checkbox on the main screen instead of the popup screen with the below mentioned statement it works:
Code:
JavaWindow("Sales_BasicFlow").JavaDialog("Product Selection").JavaTable("<html><center><b>Select").SelectCell "#0", "Services"

I am not understanding the point that why the same syntax does not work on the Popup screen when it works for Main screen.

Kindly provide a resolution to the problem.

Regards,
Rachna
Reply
#2
Not Solved
Can you spy the checkbox and upload the spyshot ?
Basanth
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  active screen in uft one koslender 0 1,196 12-01-2020, 05:45 PM
Last Post: koslender
  How to check Checkbox in SSDBGrid in windows application RamUFT 0 976 02-13-2020, 07:34 PM
Last Post: RamUFT
  Webtable Checkbox in UFT Syahirah 7 10,786 11-15-2017, 03:47 PM
Last Post: Ankur
  Find a value in SAPGUILabel Screen jimgral 0 2,976 07-14-2016, 01:46 PM
Last Post: jimgral
  how to use DataTableGet on a checkbox. Is it possible? if not, what is the right appr jbelkin@gmail.com 1 2,720 08-02-2012, 10:23 AM
Last Post: sshukla12

Forum Jump:


Users browsing this thread: 1 Guest(s)