Instrumentation fail for iOS

Ask general questions here.
User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 5256
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Instrumentation fail for iOS

Post by odklizec » Wed Sep 25, 2019 9:37 am

Hi,

I'm afraid, that without seeing your app, or at very least, multiple Ranorex snapshots, displaying randomized app state (NOT screenshots!), it's impossible to suggest something reliable. Also, I suppose there is a manual test case, which you need to automate? Could you please post that test case (if exists) too?
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

Janvi Bhuva
Posts: 13
Joined: Mon Aug 19, 2019 11:52 am

Re: Random Question and Answer in Form

Post by Janvi Bhuva » Wed Sep 25, 2019 10:26 am

Hi,

As per the suggestions, I have attached the screenshot for the random questionnaire.

This is the Screenshot for our form which generates random Questions. We have set of 15 questions which have the options accordingly. Each time the user gets 5 random questions from the set of 15 and also the options in the random sequence. :roll: Once the user answers the questions correctly allows the user to move further else the user cannot move further.
Attachments
Untitled 17.png
Untitled 17.png (17.77 KiB) Viewed 92 times

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

Re: Instrumentation fail for iOS

Post by odklizec » Wed Sep 25, 2019 10:53 am

Hi,

Well, what you have posted is a plain screenshot, and not, as requested, Ranorex snapshot. Anyway, what exactly you want to achieve? Validate the existence of each question and also matching options (per question) or also simulate user's answers (by clicking individual answers)?

In my opinion, you will need a list (CSV/Excel) or DB, containing all possible questions and matching answers and then match UI questions/answers with the questions/answers in list/DB. Randomization makes the task noticeably complicated, but not unsolvable.
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

Janvi Bhuva
Posts: 13
Joined: Mon Aug 19, 2019 11:52 am

Re: Instrumentation fail for iOS

Post by Janvi Bhuva » Wed Sep 25, 2019 11:48 am

Hi,

Can you please brief how can I match the Excel and the UI?

Thanks!

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

Re: Instrumentation fail for iOS

Post by odklizec » Wed Sep 25, 2019 11:51 am

Hi,

Please post the UI snapshot, as requested before. Without snapshot, it's hard to suggest something reliable.
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

Janvi Bhuva
Posts: 13
Joined: Mon Aug 19, 2019 11:52 am

Random Question and Answer in Form

Post by Janvi Bhuva » Thu Sep 26, 2019 6:16 am

Hi,

Here is the Snapshot you suggested about.

Thanks!
Attachments
verification.rxsnp
(95.13 KiB) Downloaded 1 time

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

Re: Instrumentation fail for iOS

Post by odklizec » Thu Sep 26, 2019 8:41 am

Hi,

Thanks for the snapshot. Now please tell us, what EXACTLY you wan to automate? Step by step manual test case would be really helpful ;) Thanks.
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

Janvi Bhuva
Posts: 13
Joined: Mon Aug 19, 2019 11:52 am

Re: Instrumentation fail for iOS

Post by Janvi Bhuva » Wed Oct 16, 2019 7:32 am

Hi.

The step by step test is:
1. On the Questionnaire page, the user needs to answer the question. The signer needs to have 3 answers correct from the 5 in order to complete the process else not be able to move further.
2. We have set of 15 Questions and every time the user gets a set of 5 questions randomly from the set of 15 question.

Can you please help me out how can I match UI questions/answers with CSV/Excel or is there any other way how can I do implement that?

Also, I need to perform Web automated tests against the different environment i.e development, staging, production.
For each environment I have different data (URL, form data, credentials) to be provided to my test cases but I don't know how to switch data for the selected environment.

Could someone help me, please?


Thanks.

Janvi Bhuva
Posts: 13
Joined: Mon Aug 19, 2019 11:52 am

Re: Instrumentation fail for iOS

Post by Janvi Bhuva » Thu Oct 17, 2019 7:45 am

Hi.

Can anyone help me out on this issue as I am struggling over the issue from the last two days?

Thanks.

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

Re: Instrumentation fail for iOS

Post by odklizec » Thu Oct 17, 2019 8:06 am

Hi,

I'm afraid, I'm currently busy, so I'm unable to help you with this. I'm sure someone else will look at this and eventually suggest the best approach.
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

Janvi Bhuva
Posts: 13
Joined: Mon Aug 19, 2019 11:52 am

Re: Instrumentation fail for iOS

Post by Janvi Bhuva » Thu Oct 17, 2019 8:14 am

Hi.!

Hope someone will help me out on this.

Please consider this and reach to help me out on this as soon as possible.

Thanks..