Hi,
I have been doing the testing in Ranorex Record and playback since past few months.
I am new to the ranorex code module.
I just want to create a simple login script using ranorex code.
Attach is the code for the same.
I have added the few steps .When i trying to run the script , error message is displaying that "particular repository does not contain the definition for the ......" .
Attach the error message for the same.
Also i have added the instance of the repository but this also not working.
Please help me to under stand this ,without record and play back how to add the repository in the code.
I have already gone the code module " how to using repository in the code" but i am not able to succeed.
Please help me to under stand this.
I know this is the basic but if write the initial code then i will be able to write other codes.
Thanks in Advance!.
Regards
Upendra
How to use the object repository in code module
How to use the object repository in code module
- Attachments
-
- Login error ranorex.jpg (268.67 KiB) Viewed 1165 times
Re: How to use the object repository in code module
Hi Upendra,
your error just say it doesn't find this element, are you sure you have it (open it and expand)?
can you add the repository screen shot?
your error just say it doesn't find this element, are you sure you have it (open it and expand)?
can you add the repository screen shot?
Best Regards
Tzahi Caspi
Tzahi Caspi
Re: How to use the object repository in code module
Hi ,
Thanks for your reply!
I have attached the repository.
Please let me know how to add this element in repository if the existing repository does not contain the element.
Regards
Upendra
Thanks for your reply!
I have attached the repository.
Please let me know how to add this element in repository if the existing repository does not contain the element.
Regards
Upendra
- Attachments
-
- Login.cs
- (1.95 KiB) Downloaded 62 times
-
- RMSLoginRepository.cs
- (2.3 KiB) Downloaded 63 times
Re: How to use the object repository in code module
I can't find it, your repository seemed to be empty or I'm missing something.
I can't download .cs file here (security issue), but i saw it in a different p.c.
You can double click the file .rxrec, it will open at the studio.
After it Expend each folder by the + (at the left).
do you use more then one repository? (at the current project I see only one).
I can't download .cs file here (security issue), but i saw it in a different p.c.
You can double click the file .rxrec, it will open at the studio.
After it Expend each folder by the + (at the left).
do you use more then one repository? (at the current project I see only one).
Best Regards
Tzahi Caspi
Tzahi Caspi