cancel
Showing results for 
Search instead for 
Did you mean: 

How to configure Project Variables on TestExecute

nwang66
Contributor

How to configure Project Variables on TestExecute

Hi,   

     My project suite was developed on PC1. I copied whole project suite file folder from PC1 to PC2 and ran one of the projects on PC2. However, I got Jscript runtime error, which said, 

 


“[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified. ..."



     My question is how to configure Project Variables and Project Suite variables when run tests with TestExecute? A screen shot is attached.



     Thanks a lot!



Nancy Wang


4 REPLIES 4

RE: How to configure Project Variables on TestExecute

Hi Nancy,


TestExecute does not provide a GUI for changing your project. However, you can change variable values from script. To learn how to work with project variables, please see the "Project and Project Suite Editor - Variables Page" ( http://www.automatedqa.com/support/viewarticle.aspx?aid=3042 ) and "Working With Project and Project Suite Variables in Scripts" ( http://www.automatedqa.com/support/viewarticle.aspx?aid=3074 ) help topics.


Best regards,
Alexey

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
AlexKaras
Community Hero

RE: How to configure Project Variables on TestExecute

Hi Allen,



Is it possible to provide TestExecute with the GUI interface accessible from its menu that makes it possible to set the values for the suite and project local variables to ease the life for the testers who are running tests in the network mode and need to adjust them for the given machine configuration?



Thanks.
Regards,
  /Alex [Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================
nwang66
Contributor

RE: How to configure Project Variables on TestExecute

Hi, 

    Alex's suggestion is really a good idea!



    We have a small QA group, which is responsible for writing/modifying automated testing scripts. We also have a large group for manual testing and executing automated testing. So the scripts will be run on the machine, which is usually different from the machine that the script is created. Even though both machines connect to the database server and network drive without any error, the test was still failed. The error message is either ‘Data source name not found and no default driver specified’ or ‘Unable to open the file’ on the network drive. It is hard to say if my settings are not correct or TestExecute is not functioning properly… There is nothing that I can see or modify on TestExecute...



    Is there many TestExecute users? Usually how do they run tests on TestExecute? Can anyone have some experience to share:-)?



    Thank you very much!



Nancy

RE: How to configure Project Variables on TestExecute

Hi Nancy,


Thank you for your suggestions. Currently, you can post values of problematic variables to the test log from your script to check what the values are.


Best regards,
Alexey

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
New Here?
Join us and watch the welcome video:
Announcements
Top Kudoed Authors