08-30-2011, 12:55 PM
|
How to parameterize the value which is in Object repository
|
|
08-31-2011, 03:11 AM
Hi,
Help me understanding your question, you want to give the local host name of the machine in which the script is running? If yes then you can use the environment variable to fetch that info and parse it to the OR. Code: Dim strHostName : strHostName = Environment("LocalHostName")The second option is to use the regular expression. Let me know if you need any further info.
Thanks,
SUpputuri
09-01-2011, 02:38 PM
Paramtrize that property value and take tha value from data table. At the time of execution change the value of url which is up and execute tha application
09-02-2011, 12:38 PM
1. Define a data table column for the URL values.
2. In your test read the value of the URL from data table and store it in a variable say sURL 3. Now use invokeapplication or SystemUtilRun object to invoke an internet explorer. 4. Instruct the IE to navigate to the URL stored in variable sURL (Search Google. You will get a lot of code examples how to invoke an IE and navigate to a URL)
09-06-2011, 12:38 PM
Hi Thanks for your information.
One doubt about your given code "Dim strHostName : strHostName = Environment("LocalHostName")" But here need to specify the target host name and it will pickup that host only but I need O/P like At runtime any of the target host should take. Now new problem is like as below - The wsdl is generating from 'web services wizard' and its pointing to Local host or other host name when the script is recorded. - Now the Situation is, need to pick up any of the host name at run time. please help on this. Thanks, Adhikari. |
|
« Next Oldest | Next Newest »
|
| Possibly Related Threads… | |||||
| Thread | Author | Replies | Views | Last Post | |
| Do we need object repository?? | subhashinid | 0 | 2,329 |
07-06-2016, 10:07 AM Last Post: subhashinid |
|
| Object repository losing object properties | ishan.mahajan@adp.com | 2 | 4,509 |
08-20-2015, 11:33 PM Last Post: ADITI1992 |
|
| login object not found in object repository | Akram | 2 | 3,567 |
06-01-2015, 07:47 PM Last Post: babu123 |
|
| object was not found in the Object Repository | reynard | 0 | 7,314 |
03-17-2015, 10:54 PM Last Post: reynard |
|
| Change Object Repository File Path for ExternalActions | MasterChief | 1 | 5,216 |
11-13-2014, 06:05 PM Last Post: vinod123 |
|
Users browsing this thread: 1 Guest(s)

