Thank you for watching. Cheers! would you mind hitting *_like_* button and *_subscribe_* to our channel! That will be awesome. We would be grateful to you. And also share this video in your circle via whatsapp, facebook and twitter.
@sonalpathak67162 жыл бұрын
Thank you! your solution worked, i just changed the DataDirectory to something like this because i had the csv in my folder in solution
@AnkproTraining2 жыл бұрын
Thank you for watching this video. Don't forget to *_like , subscribe_* and hit that *_notification_* bell 🔔. And also share this video in your circle via *WhatsApp* , *Facebook* and *Twitter* . Link to subscribe the channel goo.gl/hFueBi
@deekshajain63392 жыл бұрын
HI i am writing code in C# using nunit framework and getting the error "CS1061 C# does not contain a definition for 'DataRow' and no accessible extension method 'DataRow' accepting a first argument of type could be found (are you missing a using directive or an assembly reference?)" please let me know what i am missing here
@AnkproTraining2 жыл бұрын
Deeksha, there is a different way for NUnit. DataRow attribute is available only in MS Test framework. Thanks for watching, please subscribe and share this video in your network.
@makiyatow32864 жыл бұрын
Hello Akpro, Tried this but I have an error "CS1061 C# does not contain a definition for 'DataRow' and no accessible extension method 'DataRow' accepting a first argument of type could be found (are you missing a using directive or an assembly reference?)" My errors are with this codes: driver.FindElement(By.Id("FirstName")).SendKeys(TestContext.DataRow[0].ToString()); I used this method for TestContext. Data Row public TestContext TestContext { get; set; } Am I missing something? Thank you!
@AnkproTraining4 жыл бұрын
Right click on *_References_* -> Click on *_Add References_* -> Search *_System.Data_* in the top right search -> It will be unchecked, Check the *_System.Data_* -> Click on *_OK_*. Try now. Subscribe to our channel. Like the video and share the video in your circle.
@makiyatow32864 жыл бұрын
@@AnkproTraining seems like I don’t have System.Data in my References Manager..I can add System.Data as a statement/library but it’s nowhere to be found in References Manager.
@AnkproTraining4 жыл бұрын
@@makiyatow3286 Are you using .Net core?
@makiyatow32864 жыл бұрын
@@AnkproTraining yes, im using .NET Core 5. Does it support datarow properties? So far, I've used excel file instead of csv for DDT
@AnkproTraining4 жыл бұрын
@@makiyatow3286 Try adding Entity framework from nuget package manager. It should have System.Data namespace.
@jithesh67593 жыл бұрын
Nice demo, thank you. Am getting the following error - how to fix that. Error CS1061 'TestContext' does not contain a definition for 'DataRow' and no accessible extension method 'DataRow' accepting a first argument of type 'TestContext' could be found (are you missing a using directive or an assembly reference?).
@AnkproTraining3 жыл бұрын
Include "System.Data" to references. Thank you for watching this video. Cheers! would you mind hitting like button and subscribe to our channel! That will be awesome. We would be grateful to you. And also share this video in your circle via whatsapp, facebook and twitter.
@himanshu-varshney6 ай бұрын
Nice Content. Just had one query I am not able to use DataSource -> Is this method is obsolete now similar with DataAccessMethod. Because when i am using these in my code these are not present.
@Mr_Luckiee2 жыл бұрын
How to write in Csv file
@stalinpaulrajjudha26853 жыл бұрын
Error CS0104 'TestContext' is an ambiguous reference between 'NUnit.Framework.TestContext' and 'Microsoft.VisualStudio.TestTools.UnitTesting.TestContext' ..Hi getting this error for TestContext
@AnkproTraining3 жыл бұрын
Use MSTest only.
@kiranbandi55483 жыл бұрын
Could you please make a video on complete framework development from scratch?
@AnkproTraining3 жыл бұрын
Yes, it is cooking. POM is following. Subscribe and share the videos with your friends.