Forum Discussion
Hi,
Test Complete Script some times won't run on bulk test cases but its working fine on single test case.
That Test Case has no Script error and its gave best result when Execute a single test case method.
Kindly let me know if you have the solution for this.
Regards,
Ramaraja.K
Testing Engineer
You're description doesn't clearly explain your issue. You say there is no error but it does not run? What do you mean by Bulk Test Cases? How are you running your tests? What exactly is happening vs what you expect to happen?
- ramarajak7 years agoOccasional Contributor
HI
Kindly take a look of my attached files.. actually bulk test cases means Multiple Test cases to run(if i have to run test cases more than 50). When i do this action some test case which is scriptwise correct and works when execute on single test case but in Multiple Test cases queue it doesn't find object..
Hope you understand my explanation.
- NisHera7 years agoValued Contributor
Your log file don't give enough clue to determine what went wrong.
But I suspect running multi test would some how slow down your test machine/environment.
One thing you could do is increase waiting time for object where it go's wrong and run it again.
- tristaanogre7 years agoEsteemed Contributor
NisHera wrote:
Your log file don't give enough clue to determine what went wrong.
But I suspect running multi test would some how slow down your test machine/environment.
One thing you could do is increase waiting time for object where it go's wrong and run it again.
I agree with NisHera... this could simply be a performance/timing problem. We have similar situations in our own test runs where a test case runs fine when run solo but fails with similar errors when part of the larger batch. Your application under test may have all sorts of other background processes and resource consumption that are still running, processing, releasing, being consumed, etc., from previous tests so the performance will run slower.
Put in appropriate wait logic, detection, etc., to detect the object before you attempt to operate on it.
- ramarajak7 years agoOccasional Contributor
Exactly Happens
One Script Line not Executed when its in queued in Multiple Cases But Its working fine on single test case execution.
Expected to happen
Need that Script line Executed even in multiple test cases
- baxatob7 years agoCommunity Hero
So, please be precise - some script has not been executed at all? Or it has been executed with the error mentioned above?
- ramarajak7 years agoOccasional Contributor
yes
it's came as per the screen shot..Test Cases are run but it couldn't click the Mentioned object(Object written by using Object spy).
Related Content
- 12 months agosinis