User Code does not run when running a test case

Ask general questions here.
ewu
Posts: 4
Joined: Mon Dec 03, 2018 6:32 pm

User Code does not run when running a test case

Post by ewu » Mon Dec 03, 2018 6:40 pm

Hello,

I'm having trouble running the user code that is added to a recording.
When I run the recording, the user code will run, but if I runing the whole test case, the user code never runs.


Thanks,
Emma

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

Re: User Code does not run when running a test case

Post by odklizec » Tue Dec 04, 2018 3:21 pm

Hi,

Unfortunately, it's hard to tell what's wrong, without seeing your solution and user code you are trying to run. Have you tried to add the user code to a new project? Also what's your Ranorex version?
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

ewu
Posts: 4
Joined: Mon Dec 03, 2018 6:32 pm

Re: User Code does not run when running a test case

Post by ewu » Tue Dec 04, 2018 3:52 pm

Thank you!
I created a new solution and solved everything.