Search found 6 matches

by DavidH
Mon Jan 28, 2019 8:27 am
Forum: How To …
Topic: Manipulation RxPath in Repo goes wrong
Replies: 3
Views: 1358

Re: Manipulation RxPath in Repo goes wrong

Why do you use .TagValue?

So your repo item has the following xpath. Including the variable "$value"

Code: Select all

dom[...//span[@innertext=$value]/../../..//div[2]/tag[2]//span[@class='mat-slide-toggle-content']
Then you should update the value of $value like this:

Code: Select all

repoName.value="5678"; 
by DavidH
Wed Aug 08, 2018 1:10 pm
Forum: How To …
Topic: How To get the test case status in a condition
Replies: 2
Views: 3183

Re: How To get the test case status in a condition

Hi, Try this code for test case or entire test suite status... var tcStatus = TestSuite.Current.GetTestContainer("tcName").Status; // get status of specified TC var tcStatus = Ranorex.Core.Reporting.ActivityStack.Current.Status; // returns test suite status Unfortunatly this isn't working for my ve...
by DavidH
Wed Jul 04, 2018 12:43 pm
Forum: How To …
Topic: How To get the test case status in a condition
Replies: 2
Views: 3183

How To get the test case status in a condition

Hi, I'm trying to receive the test case status in the teardown. testsuite.JPG I'm using the following code: ITestContainer TestContainer = TestSuite.Current.CurrentTestContainer; while(!TestContainer.IsTestCase){ TestContainer = TestContainer.ParentContainer; } Report.Log(ReportLevel.Info, TestConta...
by DavidH
Fri Feb 23, 2018 10:07 am
Forum: Object Identification and Technologies
Topic: Ranorex PDF Check
Replies: 1
Views: 1965

Ranorex PDF Check

Hi, I'm trying to verify a pdf file, but it's not working as I expect. When I track a part of the text on the first page I get a repository item: text: element[@instance='3']/element[@instance='0']/element[@class='AVL_AVView']/element[@class='AVL_AVView']/element[@class='AVL_AVView']/element[@instan...
by DavidH
Mon Jan 29, 2018 1:27 pm
Forum: Automation Tools
Topic: Versioning: .RXTST Reference
Replies: 2
Views: 1680

Re: Versioning: .RXTST Reference

Is there a reason you cannot install Ranorex in the same spot on all systems? This seems to be the best way to solve the issue. Ranorex installs should be as consistent across your company as possible in order to keep these types of issues from popping up. I'm pretty sure there's no way to paramete...
by DavidH
Mon Jan 22, 2018 3:07 pm
Forum: Automation Tools
Topic: Versioning: .RXTST Reference
Replies: 2
Views: 1680

Versioning: .RXTST Reference

Hi, We are working with Ranorex 8.0 in combination with Git (Stash) We have 1 solution, with 1 test suite project and 2 module library projects. When loading the complete Solution from Git some users experience an automatic changed .rxtst (test suite) file. The change is: <references> <reference> C:...