Search found 137 matches

by mzperix
Fri Aug 01, 2014 12:13 pm
Forum: Object Identification and Technologies
Topic: Does not recognize tabs!
Replies: 4
Views: 2225

Re: Does not recognize tabs!

Hi mghali, looking at your xpath, I think the problem lies on your xpath actually. You want to click on New tab, when the Search Tab is open, right? I think the problem is that the xpath of the New tab is different, when you are on the Search page, and when you are on the New page. Run the scenario,...
by mzperix
Thu Jul 31, 2014 11:29 am
Forum: General Questions
Topic: Ranorex can't find elements during execution
Replies: 4
Views: 2415

Re: Ranorex can't find elements during execution

Also, you can create a snapshot runtime about the parent elements, so you can analyze what does ranorex see on runtime.
by mzperix
Thu Jul 31, 2014 11:21 am
Forum: General Questions
Topic: using get and set values
Replies: 1
Views: 2070

Re: using get and set values

Hi peterbonney, just use Global parameters to be able to send parametes between testcases. Make sure that you bind the module variables to the same parameter in both test case. If you change set the value of your variable, the through the TestCase bindig, it will update the Global parameter. And in ...
by mzperix
Thu Jul 31, 2014 11:15 am
Forum: General Questions
Topic: Increasing the time to find a web element
Replies: 4
Views: 1830

Re: Increasing the time to find a web element

Hi, I do not know what is Ranorex way of finding fastest, but you can try to use @id=idName attribute, or #idName attribute to find an element in the Xpath. Finding DOM element can be really slow compared to certain mechanisms. See a comparison on JQuery fin element vs. Browser's native find element...
by mzperix
Tue Jul 29, 2014 7:39 am
Forum: General Questions
Topic: Record screenshots for user manul
Replies: 1
Views: 1333

Re: Record screenshots for user manul

Hi mhelmer, yes, Ranorex supports adding screenshots. Just look at the actions, Select Report. And then on the Actions column select screenshot. The screenshot feature is very flexible, since it not only can take screenshots of the desktop, but you can add ANY kind of repository element to take scre...
by mzperix
Fri Jul 25, 2014 11:41 am
Forum: General Questions
Topic: Action on failing
Replies: 4
Views: 1406

Re: Action on failing

Hi Anastasiia, You can use a global variable to store the actual ProcID. You can connect the variables in the TestCase Variable Binding interface. In the testcase, you have to use a module in a setup region that opens the browser and sets the ProcID. And In the teardown region you can use the ProcID...
by mzperix
Thu Jul 24, 2014 10:31 am
Forum: Automation Tools
Topic: What is the equivalent of the Immediate Window from VS
Replies: 2
Views: 5324

Re: What is the equivalent of the Immediate Window from VS

Hi niteshr,

Yes, there is. Under View->Debug menu there are several windows to help debug. I think You need the Watch window (Ctrl + Alt + W).

Best Regards,
Zoltan
by mzperix
Thu Jul 24, 2014 8:07 am
Forum: General Questions
Topic: Action on failing
Replies: 4
Views: 1406

Re: Action on failing

Hi Anastasiia,

yes, it is possible :) Just right click on the module and select Teardown. See guide for more information: http://www.ranorex.com/support/user-gui ... html#c3003

Best Regards,
Zoltan
by mzperix
Mon Jul 21, 2014 12:08 pm
Forum: General Questions
Topic: Not able to validate element
Replies: 1
Views: 1354

Re: Not able to validate element

Hi venachowary, I think the forum did not show your code. Use [ code ][ /code ] (without the space), around the html and the xpath, so we can see the whole picture. What browser do you use? That kind of behaviour is usually because the browser instrumentation could not work for one reason or another...
by mzperix
Mon Jul 21, 2014 11:58 am
Forum: General Questions
Topic: Why different IE test
Replies: 2
Views: 1446

Re: Why different IE test

Hi sunmooncm,

I have some ideas, questions for you:
1. Make sure that the two environments are the same, like Ranorex version, IE addons.
2. Is the GDI capture list the same on both environment?
3. What kind of technology do you use (Java applet, Flash, Flex, etc?)

Best Regards,
Zoltan
by mzperix
Mon Jul 21, 2014 11:14 am
Forum: Object Identification and Technologies
Topic: Does not recognize tabs!
Replies: 4
Views: 2225

Re: Does not recognize tabs!

Hi mghali, can yo share us some more information about this? Like some repository xpath, or a snapshot? My first guess would be that you have the same page opened in different browsers or just on a different tab. Either make sure that only one tab is open, or if the test needs to use more that one t...
by mzperix
Tue Jul 15, 2014 8:52 am
Forum: General Questions
Topic: Identify javascript elements using Ranorex
Replies: 2
Views: 1848

Re: Identify javascript elements using Ranorex

Hi macgowan, I have a note about your concern: just leave the attribute out or use another attribute to identify the label. Label is usually used with input fields to put focus on them, or control them. If that is the case, then the label should have an atttribute @for, which should be unique. Anoth...
by mzperix
Wed Jul 09, 2014 3:10 pm
Forum: Automation Discussions
Topic: Is this a bug - With Assigned - but Unused Data Connectors
Replies: 2
Views: 2228

Re: Is this a bug - With Assigned - but Unused Data Connectors

Hi Brent, this is a known behaviour, this can be used to run the same testcase again without binding a varaible. Personally I would not consider this a bug :) If you connected a data connector, and did not bind it, you can still run it only once, by setting the rows to run only one row. Best Regards...
by mzperix
Wed Jul 09, 2014 2:59 pm
Forum: Automation API
Topic: Random object choosing
Replies: 2
Views: 2322

Re: Random object choosing

I would like to add some hint on directories: First make sure, that the proper dll-s are used: using System; using System.IO; To count the numbers of directories in C:\ directory int countDir = System.IO.Directory.GetDirectories.("C:\").Length; To count the files in a directory: string targetDirecto...
by mzperix
Wed Jul 09, 2014 2:27 pm
Forum: Automation API
Topic: Closing and killing browsers
Replies: 5
Views: 10015

Re: Closing and killing browsers

Hi, you could try to close with the dom object. Ranorex abstracts from the browsers itself by creating a dom. In theory this dom should be the same if opened in different browsers. So if you open the same page in FF, Chrome and IE, you will see 3 forms in spy - 1 for each browser type, and the brows...