Contributions
Re: Invoke of call method error occurs when I try to execute a script function.
Attaching the error log : com.jacob.com.ComFailException: Invoke of: CallMethod Source: Description: at com.jacob.com.Dispatch.invokev(Native Method) at com.jacob.com.Dispatch.invokev(Dispatch.java:858) at com.jacob.com.Dispatch.invoke(Dispatch.java:502) at com.smartbear.cucumber.TestComplete$TestCompleteRunner.CallMethod(TestComplete.java:246) at com.smartbear.cucumber.TestComplete.RunRoutine(TestComplete.java:83) at com.ge.lotus.automation.stepdefinition.NIBP_Steps.iChangeTheThresholdValuesForSystolicHighDiastolicHighAndMapHighBasedOnUnitAndPressOnApplyButton(NIBP_Steps.java:488) at ✽.And I change the threshold values for 'systolic high' 'Diastolic high' and 'Map high' based on unit mmHg and Press on 'Apply' button(FeatureFileRepo/NIBP.feature:1099) com.jacob.com.ComFailException: Invoke of: CallMethod Source: Description: at com.jacob.com.Dispatch.invokev(Native Method) at com.jacob.com.Dispatch.invokev(Dispatch.java:858) at com.jacob.com.Dispatch.invoke(Dispatch.java:502) at com.smartbear.cucumber.TestComplete$TestCompleteRunner.CallMethod(TestComplete.java:246) at com.smartbear.cucumber.TestComplete.RunRoutine(TestComplete.java:83) at com.ge.lotus.automation.stepdefinition.NIBP_Steps.iChangeTheThresholdValuesForSystolicHighDiastolicHighAndMapHighBasedOnUnitAndPressOnApplyButton(NIBP_Steps.java:488) at ✽.And I change the threshold values for 'systolic high' 'Diastolic high' and 'Map high' based on unit mmHg and Press on 'Apply' button(FeatureFileRepo/NIBP.feature:1099)2.1KViews0likes0CommentsRe: Invoke of call method error occurs when I try to execute a script function.
I accept your suggestion , But if we have 6 similar verification includes in the same function, this pattern of error occurs . Only in the 7th iteration this function will be working as expected. There I don't think wait time is the root cause for this issue.2.1KViews0likes2CommentsInvoke of call method error occurs when I try to execute a script function.
I have a statement 3 labels whose property is provided below: function Test() { Aliases.Device. TextView("text1").ControlText() Aliases.Device. TextView("text2").ControlText() Aliases.Device. TextView("text3").ControlText() } When I execute this function , some times it throw error in the first line of function , i.eAliases.Device. TextView("text1").ControlText() and when I try to run next time , it throw error in the second line and error in the first line will be in resolved mode. Like wise in the third iteration as wellThe error triggered every time will be 'Invoke of call method '.and Finally in the fourth iteration all the three error will be resolved and the function will run smoothly. So please help me to resolve this particular issue . Is there any option other than Control Text ?2.1KViews0likes5CommentsHow to change the value in a slider control to a particular value without using wPosition?
Hi All I was working in a slider control to change the value using wPosition property. But when I set a value (Ex: Slider.wPosition=50), the text value for the slider is not getting changed to 50. So what property should I use for seek the slider to a particular value.1.2KViews0likes1Comment