add code module validation into rxrec

Download and share automation modules and examples.
Posts: 9
Joined: Fri Oct 30, 2015 7:43 pm

add code module validation into rxrec

Post by svelaga » Mon Nov 02, 2015 5:30 pm

1) I have recorded the user actions

2) I have written a code module where I would verify the value of one of the UI element (taken from repository)
based on the input from excel
I should make the user action

eg : if(strHighways == "TRUE") {
var avoidHighways = repo.ComAPP.CreateTrip.AvoidHighWays;
avoidHighways.Checked = true;

And this code works good when run individually ... but how should i combine this piece of code inside recorded actions in (rxrec text case) .....

*****please i want to run the test case which has the recorded steps and also added the code module
but want to know how to add this code module validation in between the recorded actions *******

User avatar
Ranorex Guru
Ranorex Guru
Posts: 7469
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: add code module validation into rxrec

Post by odklizec » Mon Nov 02, 2015 6:53 pm


I would suggest you to check this blog article...
Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration