Contributions
- 1.5KViews0likes0Comments
- 1.5KViews0likes0Comments
- 1.5KViews0likes0Comments
JavaClasses support gives error
I am trying to use the JavaClasses feature to call functions from Java Classes. For this purpose:- 1) I installed the JavaClasses Support plugin 2) Updated the JRE path on Tools -> Options 3) Updated the JAR files and class details on Tools -> Current Project Properties 4) Tried to open the functions from a script using "JavaClasses." I am expecting to see the functions after step 4, but I am not getting it. What could be wrong? Please help. (Refer to the attachment for more details)9.5KViews0likes7Comments- 998Views1like0Comments
Continue the same test on any failure
I am a QTP user, now trying to automate an application using TestComplete. I found TestComplete to be a very good tool, however I am finding it difficult to understand the recovery scenarios. I am following a driver script approach. Lets say I have to run a same script for 100 data records from an excel file. Each record sets about 50 values of screen. If the setting of value on 1st item fails for DataRecord1, the script should stop the current iteration and then execute the same driver script, for DataRecord2. For this purpose, I have a g_iCurrentDataRecord as a global variable. I could increment it to 1 using the event handler, and able to call the same driver script again from the event handler. However, when the driver script executes again from the event handler, if there is any error, the script execution stops completely. How do i handle this in testcomplete?9.6KViews0likes5Comments