Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QTP AOM related Question - need solution
#3
Solved: 11 Years, 2 Months ago
Thanks for your answer.But I have question regarding your 2nd point.
qtp_App.Test.Actions(1).ObjectRepositories.Add "C:\Shared OR.tsr"
qtp_App.Test.Actions(2).ObjectRepositories.Add "C:\Shared OR.tsr"
I dont want to do that way because I called the startup.vbs file where
.tsr file will will be added and diff test can have diff number of action
so I want to make it duynamically ..
Is there any way to find out how many action have within a single test
so that when I run the vbs file from outside for a perticular test , its automatically associate .tsr file to all the actions for called test.

and regarding you 1st point I wanted to say ,
I associate a environmental file (.xml) into running test but in script when i want to see the environment value by suing msgbox like
val = environment("anyveriable")
msgbox val
I dont get any value but I added dynamically environmental file and it is showing in test setting also.
Am I doing anything wrong ?
Please put some light these 2 points what I said.

Thanks in advance ......
Reply


Messages In This Thread
RE: QTP AOM related Question - need solution - by prodipto_dutta - 05-03-2011, 09:23 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Scrambled characters in uft Solution Explorer Dwarak Calayampundi 0 1,504 05-25-2016, 05:02 AM
Last Post: Dwarak Calayampundi
  QTP not selecting appropriate webelement from the webtable..Need Solution satishkumarm 11 21,493 03-23-2016, 12:47 PM
Last Post: Swetha_Bayya
  QTP system related issue Bharathi Kanagarajan 1 2,061 09-12-2015, 11:28 PM
Last Post: ADITI1992
  AOM script is running only one or two scripts. jramya 4 4,076 07-24-2014, 06:15 PM
Last Post: jramya
  Issue related to dropdown selection(Please help urgent) excellentpawan123 2 4,156 05-31-2014, 12:00 PM
Last Post: excellentpawan123

Forum Jump:


Users browsing this thread: 4 Guest(s)