use string generator module

Ranorex Spy, Recorder, and Studio.
archibald
Posts: 4
Joined: Tue Sep 20, 2016 11:00 am

use string generator module

Post by archibald » Tue Sep 20, 2016 5:46 pm

I read the tutorial on this website about "How to Generate and Use Random Values" (forum not allow to give url, I don't know why)

It seems a very useful feature and not only for creating random string.

I did the tutorial but Unfortunately, when I try to use the generated module, the expected "$Input" does not appears in my dropdow list

Image
https://drive.google.com/file/d/0B-Rrpf ... sp=sharing

However I believe I have respected all instructions:


Image
https://drive.google.com/file/d/0B-Rrpf ... sp=sharing[


Maybe I did not bind the module in Test case, and I am sure i should learn how to use Ranorex module in a more global use but nothing it said about that in this tutorial that just talk about random string generator.


Image
https://drive.google.com/file/d/0B-Rrpf ... sp=sharing

What i really odd is that in the example to download I canot see either the expected value in the dropdown if I try to add a key sequence in the first record

Could you help me please?

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

Re: use string generator module

Post by odklizec » Wed Sep 21, 2016 8:16 am

Hi,

The reason why you don't see the variable from Code module in Recording module is that these modules are not connected. You need to follow the steps from this blog post to share data between modules:
http://www.ranorex.com/blog/sharing-dat ... o-another/
Hope this helps?
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

archibald
Posts: 4
Joined: Tue Sep 20, 2016 11:00 am

Re: use string generator module

Post by archibald » Wed Sep 21, 2016 10:52 am

Thank you!
it gave me missing vocabulary