Search found 12 matches

by Prad
Fri Oct 26, 2012 9:43 pm
Forum: Object Identification and Technologies
Topic: uniquely identify an java application instance
Replies: 3
Views: 2938

Re: uniquely identify an java application instance

Thanks ,

I see that but still did not come across a method to set focus to a particular instance of the application
from the test case code

would like to be able to do something like this

repo.Form.Activate( instance_1 )

perform operations

repo.from.Activate(instance_2)


Regards,
Prad
by Prad
Wed Oct 24, 2012 3:44 pm
Forum: Object Identification and Technologies
Topic: uniquely identify an java application instance
Replies: 3
Views: 2938

uniquely identify an java application instance

Hi , Is there a way to uniquely identify an instance of an application ? if there are multiple instances of the application started and all of them have the same set of UI elements and match the objects in the repository though the actions are performed on the object that has focus , Just wanted to ...
by Prad
Mon Jun 04, 2012 3:35 pm
Forum: How To …
Topic: How to invoke java method
Replies: 19
Views: 9698

Re: How to invoke java method

Hi , This is the error that i encounter when i try to cast the return value to a JavaObjectWrapper array , System.InvalidCastException: Unable to cast object of type 'Ranorex.Plugin.JavaObjectWrapper' to type 'Ranorex.Plugin.JavaObjectWrapper[]'. the situation where i encounter this , i am trying to...
by Prad
Tue May 29, 2012 5:00 pm
Forum: How To …
Topic: How to invoke java method
Replies: 19
Views: 9698

Re: How to invoke java method

Hi ,

How can i cast / convert it to an array if the returned object is only a single instance
of the JavaObjectWrapper ,

Regards,
Prad
by Prad
Wed May 23, 2012 3:52 pm
Forum: How To …
Topic: How to invoke java method
Replies: 19
Views: 9698

Re: How to invoke java method

Hi , Thanks for the response , it helps , but how would this work when the return value is just not one class instance but an array of class instances , could you please provide some info/examples on how to loop on each object and execute an invokeMethod/Invoke on each of the elements in the array T...
by Prad
Thu May 17, 2012 8:42 pm
Forum: How To …
Topic: How to invoke java method
Replies: 19
Views: 9698

Re: How to invoke java method

Hi Markus , Thanks for the update , was able to use your example as reference and use this function . but if the return value is an internal java object , is there an example on how to use /case that java object and call functions in that object . should the definition of the returned object be load...
by Prad
Fri Apr 27, 2012 8:01 pm
Forum: How To …
Topic: How to invoke java method
Replies: 19
Views: 9698

Re: How to invoke java method

The link is fine , its just that when you click on the link , it misses the closing parenthesis http://www.jidesoft.com/javadoc/com/jidesoft/grid/JideTable.html#isTablePrinting() that function was just for a reference as a test function It would be of help if you can send me an example of how to use...
by Prad
Thu Apr 26, 2012 4:46 pm
Forum: How To …
Topic: How to invoke java method
Replies: 19
Views: 9698

Re: How to invoke java method

Hi , Could you please provide some additional examples / sample code on how exactly to use this , since based on the example / outline provided the codes does not compile at all. for eg. how do i use this to call the IsPrinting function for the JideTable object ? http://www.jidesoft.com/javadoc/com/...
by Prad
Mon Mar 26, 2012 6:37 pm
Forum: General Questions
Topic: Access Folder Name in the rxtst file
Replies: 1
Views: 1806

Access Folder Name in the rxtst file

Hi , How can i access the parent folder name of the test case being executed ? since our test cases are organized by categories in the rxtst file , and have corresponding config files organized in the same manner, would like avoid parsing through multiple directories to get to the correct file Did n...
by Prad
Tue Mar 06, 2012 9:05 pm
Forum: General Questions
Topic: TestSuite.current
Replies: 5
Views: 3615

Re: TestSuite.current

Hi, but however i would prefer to have some of the basic information input like server configuration / test case group selection , path etc. from the rxtst file and do not have to execute the TestSuiteRunner for execution of the test cases . You want to use testcases and run the rxtst file and you ...
by Prad
Thu Feb 23, 2012 7:48 pm
Forum: General Questions
Topic: TestSuite.current
Replies: 5
Views: 3615

Re: TestSuite.current

Hi , Thanks for the Response , We use a completely code based approach for our test cases , and most of the info for the test suite / test cases come from a CSV file but however i would prefer to have some of the basic information input like server configuration / test case group selection , path et...
by Prad
Thu Feb 23, 2012 4:55 pm
Forum: General Questions
Topic: TestSuite.current
Replies: 5
Views: 3615

TestSuite.current

Hi

Is there any way to access the TestSuite.current variables and parameters

without having to use the TestSuiteRunner.Run() ?

Regards,
Prad