Welcome, Guest. Please login or register.
Login with username, password and session length

 
Advanced search

18539 Posts in 4847 Topics- by 32743 Members - Latest Member: watty
 

AdvancedQTP forums have been nominated as a finalist in ATI’s 2nd annual automation honors awards!

We’d like to thank you for your continued support and participation, and urge you to hurry and vote.

Make you voice count! 


Pages: [1]   Go Down
Print
0 Members and 1 Guest are viewing this topic.
Author Topic: Unable to upload all the variables in the XML file    (Read 167 times)
prasad gali
FRProject
User
*
Offline Offline

Posts: 19


« on: April 20, 2010, 05:11:29 AM »

Hi,


I am trying to upload the variables and values from an external XML using the command
Environment.LoadFromFile "C:\AutomationSuite\Automation\Configuration\actions.xml".

But i am not getting all the variables but some variables are loaded successfully.

Please let me know the reason and i really helpful if the solution given.

Thanks in advance.

Thanks,
Prasad

Logged
Priya Zaveri
Active User
**
Offline Offline

Posts: 62


« Reply #1 on: April 20, 2010, 05:24:23 AM »

Hi Prasad,

The issue could be the variables not defined as required in the format.
You can try redifining the variables in some sample file and check if thats loaded or share a template xml file, so that we can debug n check.

Regards,
Priya
Logged
Asiq Ahamed
Moderator
Advanced User
*****
Offline Offline

Posts: 503



« Reply #2 on: April 20, 2010, 05:36:59 AM »

Prasad,
   
Quote
But i am not getting all the variables but some variables are loaded successfully.

How did you find that some variables are loaded successfully?

Please post the XML you used. I think the problem is not with QTP.
Logged
Tarun Lalwani
Advanced User
*****
Offline Offline

Posts: 894



WWW
« Reply #3 on: April 20, 2010, 06:36:02 AM »

These would be values that contains special characters. Something like & etc can give you an issue. Is that what is happening?
Logged

Tarun Lalwani,
QuickTest Professional Unplugged - My new Book on QTP...
prasad gali
FRProject
User
*
Offline Offline

Posts: 19


« Reply #4 on: April 21, 2010, 06:52:25 AM »

Hi All,

Thanks for your quick responses.

I have given spaces in between the names and its working fine after removing the spaces.

Thanks again...........

Prasad G
 
Logged
Pages: [1]   Go Up
Print
Jump to: