This is a migrated thread and some comments may be shown as answers.

unable to execute test steps after adding test step and edit elements.

4 Answers 81 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Piyush
Top achievements
Rank 1
Piyush asked on 19 Apr 2020, 12:08 PM

Hello

i am unable to run my test steps when i made changes in test steps and edited elements. But when i try to run then compiler showing error  and i dont understand where i have made mistake. please help me.

 

[ Compiler ]
17:32:30 'WARNING' > e:\Testing\AtlaxyTesting\2.3\AtlasTicketPortal_Decoupling\001-GeneralCode\GeneralCode.tstest.cs(690,37) : warning CS0472: The result of the expression is always 'true' since a value of type 'int' is never equal to 'null' of type 'int?'
17:32:30 'WARNING' > e:\Testing\AtlaxyTesting\2.3\AtlasTicketPortal_Decoupling\001-GeneralCode\GeneralCode.tstest.cs(1770,37) : warning CS0472: The result of the expression is always 'true' since a value of type 'int' is never equal to 'null' of type 'int?'
17:32:30 'WARNING' > e:\Testing\AtlaxyTesting\2.3\AtlasTicketPortal_Decoupling\001-GeneralCode\GeneralCode.tstest.cs(2503,16) : warning CS0219: The variable 'result' is assigned but its value is never used
17:32:30 'WARNING' > e:\Testing\AtlaxyTesting\2.3\AtlasTicketPortal_Decoupling\001-GeneralCode\GeneralCode.tstest.cs(2565,16) : warning CS0219: The variable 'result' is assigned but its value is never used
17:32:30 'WARNING' > e:\Testing\AtlaxyTesting\2.3\AtlasTicketPortal_Decoupling\13000-VetoUserAccessPermission\Operations\13005-VetoUserTicketCreationWithUserPermissionInsertOnly02.tstest.cs(121,18) : warning CS0219: The variable 'status' is assigned but its value is never used
17:32:30 'WARNING' > e:\Testing\AtlaxyTesting\2.3\AtlasTicketPortal_Decoupling\13000-VetoUserAccessPermission\Operations\13005-VetoUserTicketCreationWithUserPermissionInsertOnly02.tstest.cs(154,18) : warning CS0219: The variable 'status' is assigned but its value is never used
17:32:30 'ERROR' > e:\Testing\AtlaxyTesting\2.3\AtlasTicketPortal_Decoupling\5000-TemporaryBlockAccess\002-Operations\5010-TemporaryBlockOperationAllExternal.tstest.cs(701,40) : error CS1061: 'AtlasTicketPortal.Pages.AtlaxyTicketPortal43Page' does not contain a definition for 'ExpandImage3' and no extension method 'ExpandImage3' accepting a first argument of type 'AtlasTicketPortal.Pages.AtlaxyTicketPortal43Page' could be found (are you missing a using directive or an assembly reference?)
17:32:30 'ERROR' > e:\Testing\AtlaxyTesting\2.3\AtlasTicketPortal_Decoupling\5000-TemporaryBlockAccess\002-Operations\5010-TemporaryBlockOperationAllExternal.tstest.cs(703,40) : error CS1061: 'AtlasTicketPortal.Pages.AtlaxyTicketPortal43Page' does not contain a definition for 'ExpandImage3' and no extension method 'ExpandImage3' accepting a first argument of type 'AtlasTicketPortal.Pages.AtlaxyTicketPortal43Page' could be found (are you missing a using directive or an assembly reference?)
17:32:30 'ERROR' > e:\Testing\AtlaxyTesting\2.3\AtlasTicketPortal_Decoupling\5000-TemporaryBlockAccess\002-Operations\5010-TemporaryBlockOperationAllExternal.tstest.cs(868,40) : error CS1061: 'AtlasTicketPortal.Pages.AtlaxyTicketPortal44Page' does not contain a definition for 'ExpandImage3' and no extension method 'ExpandImage3' accepting a first argument of type 'AtlasTicketPortal.Pages.AtlaxyTicketPortal44Page' could be found (are you missing a using directive or an assembly reference?)
17:32:30 'ERROR' > e:\Testing\AtlaxyTesting\2.3\AtlasTicketPortal_Decoupling\5000-TemporaryBlockAccess\002-Operations\5010-TemporaryBlockOperationAllExternal.tstest.cs(869,40) : error CS1061: 'AtlasTicketPortal.Pages.AtlaxyTicketPortal44Page' does not contain a definition for 'ExpandImage3' and no extension method 'ExpandImage3' accepting a first argument of type 'AtlasTicketPortal.Pages.AtlaxyTicketPortal44Page' could be found (are you missing a using directive or an assembly reference?)
17:32:30 'ERROR' > e:\Testing\AtlaxyTesting\2.3\AtlasTicketPortal_Decoupling\5000-TemporaryBlockAccess\002-Operations\5010-TemporaryBlockOperationAllExternal.tstest.cs(870,40) : error CS1061: 'AtlasTicketPortal.Pages.AtlaxyTicketPortal44Page' does not contain a definition for 'ExpandImage3' and no extension method 'ExpandImage3' accepting a first argument of type 'AtlasTicketPortal.Pages.AtlaxyTicketPortal44Page' could be found (are you missing a using directive or an assembly reference?)
17:32:30 'ERROR' > e:\Testing\AtlaxyTesting\2.3\AtlasTicketPortal_Decoupling\5000-TemporaryBlockAccess\002-Operations\5040-TemporaryBlockCopyOperation.tstest.cs(462,40) : error CS1061: 'AtlasTicketPortal.Pages.AtlaxyTicketPortal43Page' does not contain a definition for 'ExpandImage3' and no extension method 'ExpandImage3' accepting a first argument of type 'AtlasTicketPortal.Pages.AtlaxyTicketPortal43Page' could be found (are you missing a using directive or an assembly reference?)
17:32:30 'ERROR' > e:\Testing\AtlaxyTesting\2.3\AtlasTicketPortal_Decoupling\5000-TemporaryBlockAccess\002-Operations\5040-TemporaryBlockCopyOperation.tstest.cs(463,40) : error CS1061: 'AtlasTicketPortal.Pages.AtlaxyTicketPortal43Page' does not contain a definition for 'ExpandImage3' and no extension method 'ExpandImage3' accepting a first argument of type 'AtlasTicketPortal.Pages.AtlaxyTicketPortal43Page' could be found (are you missing a using directive or an assembly reference?)
17:32:30 'ERROR' > e:\Testing\AtlaxyTesting\2.3\AtlasTicketPortal_Decoupling\5000-TemporaryBlockAccess\002-Operations\5040-TemporaryBlockCopyOperation.tstest.cs(464,40) : error CS1061: 'AtlasTicketPortal.Pages.AtlaxyTicketPortal43Page' does not contain a definition for 'ExpandImage3' and no extension method 'ExpandImage3' accepting a first argument of type 'AtlasTicketPortal.Pages.AtlaxyTicketPortal43Page' could be found (are you missing a using directive or an assembly reference?)
17:32:30 'INFO' > Build Failed

compiler issues

hoping for quick and favourable response. thank you

Piyush

4 Answers, 1 is accepted

Sort by
0
Piyush
Top achievements
Rank 1
answered on 19 Apr 2020, 12:32 PM

this error coming on windows 10 on Internet explorer and having latest telerik test studio version

 

0
Plamen Mitrev
Telerik team
answered on 20 Apr 2020, 10:24 AM

Hello Piyush,

I am sorry to hear about the encountered compilation warnings and errors. It seems to me that you have a lot of code in your tests and there are some objects that are never used or defined. This is specific to your code and it should not be relevant to the Windows, Internet Explorer or Test Studio versions.

Please check the output from the compilation in Test Studio and go through all warning and error messages in the code, one by one. You can see the .tstest.cs file, line and row that this message is related to and that will help you debug it easier.

For example, all reported errors are related to a missing definition for "ExpandImage3" in multiple file. One of those files is "e:\Testing\AtlaxyTesting\2.3\AtlasTicketPortal_Decoupling\5000-TemporaryBlockAccess\002-Operations\5010-TemporaryBlockOperationAllExternal.tstest.cs" and the error is on line 701, row 40. Debug the code there and in other places in the code and try to fix the compilation.

If you continue to experience some troubles, you can zip and attach the full Test Studio project in this thread. I will explore it and try to advise you how you could resolve those compilation errors.

Regards,
Plamen Mitrev
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
0
Piyush
Top achievements
Rank 1
answered on 22 Apr 2020, 06:51 AM
Thanks Plamen Mitrev. Now i resolved that.
0
Plamen Mitrev
Telerik team
answered on 22 Apr 2020, 11:15 AM

Hello Piyush,

I am happy to know that this issue is resolved and you can execute your tests successfully.

Regards,
Plamen Mitrev
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
Tags
General Discussions
Asked by
Piyush
Top achievements
Rank 1
Answers by
Piyush
Top achievements
Rank 1
Plamen Mitrev
Telerik team
Share this question
or