Forum Discussion
It can. If not same version of OS you could have differences in core librairies.
Is it an application base on .net core ?
Check the .net version on both machine.
While waiting to find the root cause you can use a quick fix :
function SelectItemByValue(ObjectToUse, Value, TrueOrFalse = true) {
// Check major version of windows, 6 = win7, 10 = win10
aqEnvironment.GetWinMajorVersion() == 6 ? ObjectToUse.SelectItemWithValue(Value) : ObjectToUse.SelectItemWithValue(Value, TrueOrFalse);
}
Hello BenoitB ,
The application base on .net. I checked both machines, both are having different .net framework versions.
One machine having 4.8 Version and Other machine had 4.6.
Can we get the .NetFramework version into our scripts?
Thank you,
Anumolu.
- BenoitB5 years agoCommunity Hero
Yes, i suggest you to look at the help .
- anumolu99995 years agoContributor
Hi BenoitB ,
I had tried to use below OSInfo methods
Log.Message(Sys.OSInfo.NetCoreCount);
Log.Message(Sys.OSInfo.NetCoreVersion(0));
Log.Message(Sys.OSInfo.NetCoreVersion(1));In both machines, the result shows SAME as below
2
v2.0.50727
v4.0.30319
There is no differentiation...Can you please help.
Thank you,
Anumolu.
- BenoitB5 years agoCommunity Herothat means the pbm is not located on .net version
Both are 32 bits or win 7 is 32 and win 10 is 64.
Have you tried the fix suggested ?
Related Content
Recent Discussions
- 21 hours ago
- 21 hours ago
- 5 days ago