Code Snippet : Invoke "CLICK" programatically in Rational Functional Tester.
prakash s chauhan 27000140Y5 Visits (1883)
How to invoke a click() action programatically in Rational Functional Tester(RFT)
Say we are able to highlight the control so RFT is able to find the control and knows it's location , but the click() fails for any reason , then we can try programatically invoking a click as shown below.
Just call the method and pass it the GuiTestObject you want to click
//let's first try to click the usual way
//okay failed..try programtically now
Rectangle rect = gui.
Point toClick = new Poin