Search found 19 matches

by Valeriy777
Sat Sep 05, 2020 7:27 pm
Forum: Object Identification and Technologies
Topic: Issue with access to iFrame, webdriver using
Replies: 1
Views: 1840

Re: Issue with access to iFrame, webdriver using

I found solution. As in the Selenium we need to switch between frames. I found that WebDriverDocument has the ability to execute frame switching, so I did the following: WebDriverDocument wd = WebDriverDocument.FromPatch("//*[1]"); wd.SwitchToFrame("//iframe[@id='frame1']", "xpath"); // wd.SwitchToF...
by Valeriy777
Sat Sep 05, 2020 2:49 pm
Forum: Object Identification and Technologies
Topic: Issue with access to iFrame, webdriver using
Replies: 1
Views: 1840

Issue with access to iFrame, webdriver using

Hi, I try to use WebDriver endpoint with Ranorex. All works well when Ranorex works with a simple path, but not when it works with iframe. It will be better if I provide the example: <div id="layout"> <span id="element1"></span> <iframe id="frame1"> #document <html> <span id="element2"></span> </htm...
by Valeriy777
Tue Aug 04, 2020 7:59 am
Forum: How To …
Topic: How to create the global variable?
Replies: 1
Views: 1539

How to create the global variable?

Hi, I need to create a global variable, that I can manage from a runner and handle in the code. For example, my attempts: 1) I created a global variable GlobalParameter in the TestCase: Screenshot_10.png 2) I try to bind it with Recording2, but there isnt't exist the Recording2 record in the boundin...
by Valeriy777
Tue Jul 07, 2020 9:04 am
Forum: How To …
Topic: How to use xpath instead rxpath?
Replies: 4
Views: 2064

Re: How to use xpath instead rxpath?

Thank you!
Resolved
by Valeriy777
Mon Jul 06, 2020 10:21 pm
Forum: How To …
Topic: How to use xpath instead rxpath?
Replies: 4
Views: 2064

Re: How to use xpath instead rxpath?

Capturing a Snapshot of the root dom repository item during runtime when using ./span[@class>'abc'] RxPath should help show why it is failing. [/url]. Regards, Ned Thanks for your answer. The problem in that I do not have errors when I create the path in the repository. All works well. But when I s...
by Valeriy777
Mon Jul 06, 2020 8:54 pm
Forum: How To …
Topic: How to use xpath instead rxpath?
Replies: 4
Views: 2064

How to use xpath instead rxpath?

Hi, I try to use Selenium WebDriver in the existing Ranorex project. I created Selenium endpoint and launched the project throw him - all work well. But I can't use rxPath for element searching: for example: I can use //span[@id='121']/span[@class='abc-ab'] But can't use //span[@id='121']/span[@clas...
by Valeriy777
Mon Jul 06, 2020 8:40 pm
Forum: How To …
Topic: Using Ranorex and Selenium modes together
Replies: 2
Views: 1205

Re: Using Ranorex and Selenium modes together

Yes, it's great!
Thanks!
by Valeriy777
Fri Jul 03, 2020 10:43 pm
Forum: How To …
Topic: Using Ranorex and Selenium modes together
Replies: 2
Views: 1205

Using Ranorex and Selenium modes together

Can I switch between Ranorex and Selenium mode in the runtime? I want to use Selenium mode for web testing but I need to switch sometimes to Ranorex mode when the test needs to open the file from the disk or for excel files parsing. Is this possible, or we can use only one endpoint in the run? Thanks.
by Valeriy777
Fri Jul 03, 2020 11:06 am
Forum: How To …
Topic: How to configured and use WebDriver in the Ranorex?
Replies: 18
Views: 5127

Re: How to configured and use WebDriver in the Ranorex?

Hi, According to the user guide, Selenium server must be started with appropriate webdriver, for given web browser you want to automate: https://www.ranorex.com/help/latest/interfaces-connectivity/selenium-webdriver-integration/#SettingupaSeleniumWebDriverinfrastructure So basically you need GeckoD...
by Valeriy777
Fri Jul 03, 2020 9:14 am
Forum: How To …
Topic: How to configured and use WebDriver in the Ranorex?
Replies: 18
Views: 5127

Re: How to configured and use WebDriver in the Ranorex?

Additional entries: I opened the sample solution and try to follow https://www.ranorex.com/automated-testing-webinars/selenium-webdriver-integration-demo/on-demand/ guide. In this case, I got the error Unable to create new service: InternetExplorerDriverService Build info: version: '3.141.59', revis...
by Valeriy777
Fri Jul 03, 2020 7:48 am
Forum: How To …
Topic: How to configured and use WebDriver in the Ranorex?
Replies: 18
Views: 5127

Re: How to configured and use WebDriver in the Ranorex?

Hi, And what exactly is wrong with Selenium endpoint? In your last post, you mentioned that Selenium endpoint is created and connected. So you can run the test, but it fails somewhere? In this case, we need to know exact error message. Ideally, post entire Ranorex report. Thanks. Error message: Fai...
by Valeriy777
Fri Jul 03, 2020 7:38 am
Forum: How To …
Topic: How to configured and use WebDriver in the Ranorex?
Replies: 18
Views: 5127

Re: How to configured and use WebDriver in the Ranorex?

Hi, As McTurtle pointed out, xpath starting with "form" is not a DOM-based xpath. And although form-based xpath can be used in Ranorex, Selenium will not be able to find element behind this xpath. Selenium Webdriver works only with DOM-based xpaths! The reason why Ranorex recorded "form" and not "d...
by Valeriy777
Thu Jul 02, 2020 8:47 am
Forum: How To …
Topic: How to configured and use WebDriver in the Ranorex?
Replies: 18
Views: 5127

Re: How to configured and use WebDriver in the Ranorex?

The RanoreXPath "/form[@title~'^Test\ Automation\ for\ GUI\ T']/..." is not a dom path. It is the browser form. This happens if the browser is not instrumented. Have you instrumented the browser? If you are trying to track a browser which was open with webdriver, then the Ranorex plugin for that br...
by Valeriy777
Wed Jul 01, 2020 7:25 am
Forum: How To …
Topic: How to configured and use WebDriver in the Ranorex?
Replies: 18
Views: 5127

Re: How to configured and use WebDriver in the Ranorex?

N612 wrote:
Tue Jun 30, 2020 10:10 pm
You can switch between local web and a selenium endpoint via the endpoint panel. Select "Local host" for local web.
Thanks,
but endpoint panel contains only Selenium and Desktop endpoints