Logo QF-Test

Finding valuable answers
in the Mailing List Archive.


Free Trial  Download  Buy

Thomas Max, QF-Test training and support

Use the full-text search on our web site to find helpful tips on the mailing list.

Thomas Max, 
Sr. Software Engineer & Trainer, QFS

2017 up to now  | 2016 | 2015 | 2014 | 2013 | 2012 | 2011 | 2010 | 2009 | 2008 | 2007

(older archive entries before 2007 are not shown here, but included in the onsite-search)

Mailing List - Entries of 2012

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [QF-Test] Question on the clicking on the popup menu

  • Subject: Re: [QF-Test] Question on the clicking on the popup menu
  • From: "Robert Lahmer, QFS support" <support@?.de>
  • Date: Sat, 23 Jun 2012 17:31:35 +0200

Hello Shivakumar,

an 'SUT script' is certainly not the right place to embedd a statement "rc.callProcedure()" when the called 'Procedure' contains event nodes like 'Mouseclick'. As 'SUT scripts' run on the event dispatch thread by default, opening the modal File Dialog the way you do it will even block the test execution in QF-Test. As a rule, you need an 'SUT script' node only when you want to access objects in your client application (by means of rc.getComponent()). Otherwise, use a 'Server script' node.

Best regards,

--On Montag, Juni 18, 2012 17:40:17 +0530 Shivakumar Grande <shivakumar6g@?.com> wrote:


There is an example File ChooserDemo in QFS tool downloaded,My Scenario is
1.I clicked on the "ShowFileChooser" button
I had done above statement using the SUTScripts with the below line of
code rc.callProcedure("general.doClick",{"id":"buttonShow_FileChooser"})
For this created a procedure general -> doclick
2.Opened up a popup
3.I want to click on the cancel button

Option1: tried with the general ->doclick

Option2:Tried with the popupmenu -> selectItem

4.I want to click on the oK button

*My question is how to click on the pop up buttons, for step 3 and step
4.* Please guide me its urgent

Thanks &Regards

Videos Downloads Documentation Buy Free Trial