Forum Discussion
mohanakshi
15 years agoContributor
Hi,
I am using TC Version 7.10.475.7 and TestExecute 7.50.653.11 .
I have changed the "method invoke timeout" value to 10000.
In my test case I just need to detect the Excel child for which I could see the reference while programming is as below "Sys.Process("EXCEL").WinFormsObject("SplashScreen_CDM").WinFormsObject("MainLayoutPanel").WinFormsObject("Panel1").WinFormsObject("UiButton1""
But when tried to run the same code using testexecute the reference of same window is as given below
Sys.Process("EXCEL").Window("WindowsForms10.Window.8.app.0.bf7771", "", 2).Window("WindowsForms10.Window.8.app.0.bf7771", "", 1).Window("WindowsForms10.Window.8.app.0.bf7771", "", 2).Window("WindowsForms10.Window.8.app.0.bf7771", "", 1).
This is not only for excel !!. i just gave one example
Because of this reason i could not run my project. Please help me.
Regards,
Mohanakshi
I am using TC Version 7.10.475.7 and TestExecute 7.50.653.11 .
I have changed the "method invoke timeout" value to 10000.
In my test case I just need to detect the Excel child for which I could see the reference while programming is as below "Sys.Process("EXCEL").WinFormsObject("SplashScreen_CDM").WinFormsObject("MainLayoutPanel").WinFormsObject("Panel1").WinFormsObject("UiButton1""
But when tried to run the same code using testexecute the reference of same window is as given below
Sys.Process("EXCEL").Window("WindowsForms10.Window.8.app.0.bf7771", "", 2).Window("WindowsForms10.Window.8.app.0.bf7771", "", 1).Window("WindowsForms10.Window.8.app.0.bf7771", "", 2).Window("WindowsForms10.Window.8.app.0.bf7771", "", 1).
This is not only for excel !!. i just gave one example
Because of this reason i could not run my project. Please help me.
Regards,
Mohanakshi