In meiner Test-Suite möchte ich folgendes erreichen :
1.) Nach Start der Anwendung AUSLESEN des aktuellen Benutzer und speichern in Global Parameter
2.) Das nächste Recording Module "Anzeige Benutzer" im folgenden Testcase soll nur ausgeführt werden wenn der oben ausgelesene Benutzer UNGLEICH "zvo" ist.
Hätte ich mir eigentlich recht einfach vorgestellt, nur funktioniert es bei mir nicht - würde gerne ein PDF- oder WORD oder Ranorex Logfile hochladen, bekomme aber die Meldung invalid file extension
Verwendung von Global Parameter in IF
Re: Verwendung von Global Parameter in IF
Hi,
I would suggest you to read below blog post, which nicely describes how to share date between modules...
https://www.ranorex.com/blog/sharing-da ... o-another/
Basically, you must store the obtained user in a module variable, which must be connected to Global parameter of your choice (or Test Case/Smart Folder parameter). And then you must connect that parameter with module variable of your choice in second module. Simply, first module will read the user, store it in parameter. Then second module will use the stored value. Hope this helps?
I would suggest you to read below blog post, which nicely describes how to share date between modules...
https://www.ranorex.com/blog/sharing-da ... o-another/
Basically, you must store the obtained user in a module variable, which must be connected to Global parameter of your choice (or Test Case/Smart Folder parameter). And then you must connect that parameter with module variable of your choice in second module. Simply, first module will read the user, store it in parameter. Then second module will use the stored value. Hope this helps?
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
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