Can someone write a Login Function or Login script On any website and Post here please.
I am new to Ranorex and i have understood the Record and Play part but not able to understand how to do scripting like in QTP.
How will I write a code without using Record.
Please write a small code and share so that i can get a a Idea for how to write code in Ranorex
Write a Login Script without Recording
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Write a Login Script without Recording
Hello Deepak_Singh
For every recorded script (Record Module) in Ranorex two files are created.
For example:
If you create a new Recording Module called "Recording1.rxrec" two files "Recording1.cs" and "Recording1.UserCode.cs" are created.
In the "Recording.cs" file you can see how the code of your recorded actions look like and in the "Recording.UserCode.cs" file you can write your own scripts and methods.
Please have a look at our User Guide ( http://www.ranorex.com/support/user-gui ... tions.html ) for more information about UserCode.
There is also a section with code examples in our User Guide available under this link http://www.ranorex.com/support/user-gui ... mples.html
Kind regards,
Markus (S)
For every recorded script (Record Module) in Ranorex two files are created.
For example:
If you create a new Recording Module called "Recording1.rxrec" two files "Recording1.cs" and "Recording1.UserCode.cs" are created.
In the "Recording.cs" file you can see how the code of your recorded actions look like and in the "Recording.UserCode.cs" file you can write your own scripts and methods.
Please have a look at our User Guide ( http://www.ranorex.com/support/user-gui ... tions.html ) for more information about UserCode.
There is also a section with code examples in our User Guide available under this link http://www.ranorex.com/support/user-gui ... mples.html
Kind regards,
Markus (S)
-
- Posts: 76
- Joined: Fri Mar 14, 2014 2:37 pm
Re: Write a Login Script without Recording
Thanks markus