Error: Table does not exist in the current context

Best practices, code snippets for common functionality, examples, and guidelines.
theraviz
Posts: 111
Joined: Sun Apr 14, 2019 9:46 am

Error: Table does not exist in the current context

Post by theraviz » Wed Sep 07, 2022 9:43 am

Hello,
I am getting the below error as shown in the screenshot while executing my test case. Test Case has 3 recording. Lets say

1. Login
2. Navigation
3. Perform Action. - data entry

This test case is databinded to an excel sheet including the login credentials. When the test executes login is working fine by taking the credentials from excel and navigation recording also works fine. But when it reaches the main scenario where to perform data entry using the binded values I am getting the below error.

In the Test Report there is no "Jump to Item" option to check where exactly the issue is.

Seeking help..
image001 (1).png
You do not have the required permissions to view the files attached to this post.

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

Re: Error: Table does not exist in the current context

Post by odklizec » Wed Sep 07, 2022 10:56 am

Hi,

I'm afraid, without seeing the solution, it's impossible to tell what wrong. What is the Table '2'? It's something in excel or a repository item?
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