Write a Login Script without Recording

Class library usage, coding and language questions.
Deepak_Singh
Posts: 76
Joined: Fri Mar 14, 2014 2:37 pm

Write a Login Script without Recording

Post by Deepak_Singh » Mon Mar 17, 2014 12:08 pm

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

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: Write a Login Script without Recording

Post by Support Team » Wed Mar 19, 2014 4:05 pm

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)

Deepak_Singh
Posts: 76
Joined: Fri Mar 14, 2014 2:37 pm

Re: Write a Login Script without Recording

Post by Deepak_Singh » Sun Mar 23, 2014 7:57 am

Thanks markus :D