Search results for query: *

  • Users: Palak Shah
  • Content: Threads
  • Order by date
  1. P

    Question How to integrate the AB testing methodology into the current automation framework

    We presently use the Automation Framework with MStest and Selenium C# POM framework for the e-commerce domain in our organization. Currently, organizations are moving toward an AB testing strategy for a few pages. Therefore, I am unsure of the testing strategy in existing Automation Framework...
  2. P

    Resolved how do you compare ordered lists and find the difference int values in the list?

    Good day, everyone! I have two lists (before and after) with me that contain integer values. The only difference between the two lists is that if one of the values in the before list is 1, then one of the values in the after list will be 1 + 1 = 2. Which I need to compare, but I'm having...
  3. P

    How do I scroll to bottom of the page with Javascript but with some delay using selenium?

    Good day, everyone! I have a web page with lazy loading enabled, and I'd like to scroll to the bottom of the page, but with a wait, so that the new components in the page may be seen. At the present, I'm trying JavaScript, but it just scrolls to the bottom of the page, which doesn't reveal any...
  4. P

    Resolved Selenium C# - Sendkeys method not entering ^~ characters

    Hello Everyone, I have one text which I want to pass in input box, but it is not entering special characters and adding space instead of that - can someone help me in that? Text which I want to enter in the input box: @"This is a ^~ in C#."; I tried below thing: string demo = @"This is a ^~...
  5. P

    Facing issue "VSTTExecution cannot be found" when running tests through command

    Hello, I have .Net Framework 4.8 Project where I have added Asp.Net Core packages for including Extent Reports - But now when I am executing cases through a command from MSBuild.exe and MSTestConsoleRunnerPath(C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\MSTest.exe) then...
  6. P

    Can I refactor my code any more?

    Hello Everyone, I have created one class - and it has 3 methods in it - I tried refactoring code considering all the factors; however I am not sure if there is more room for improvement in my code or not So seek help to review my code and suggest me any means of improvement; so that I can...
  7. P

    Question Can I post question on migration from CCNet to Jenkins related?

    Hello Everyone, I am not sure if I can post the question regarding Jenkins Is it okay to post question on Jenkins?
  8. P

    Resolved How do i refactor the if..else if - multiple conditions

    Hello Everyone, I have one class file where I have user if else if and with multiple conditions -However I feel class file is really confusing, so can you help me if I can refactor the code any which way? public static PaymentOptions GetPaymentOptions_Auto(TestConfigurationCDO...
  9. P

    Is there a way to validate 3D images in selenium C#

    I am new to UI automation, and would like to understand if there is any way to automate verification 3D images i.e To check if particular image is 2D or 3D To compare the 3D image with expected 3D model of that image I have selenium c# framework, but irrespective of framework - if I can find...
  10. P

    Need help in converting SQL query to EF structure

    Hello, I am new in EF queries, and I have created query in SQL but now I want to covert it in EF structure, Can someone please help me in that? select top 1 COUNT(ojd.Date) from OrderJobStatusDetails ojd where orderid = :orderId and JobStatus = 3 and IsDeleted = 0 group by...
  11. P

    Is there a way to open browser in Firefox mobile mode?

    Hello, I want to run my tests in mobile mode of firefox browser, but I am facing difficulties in that, I have done similar thing for chrome mobile mode and it is working but not in case of firefox, Can anyone help? private static IWebDriver GetFireFoxDriver(string userAgent) {...
  12. P

    How to use MethodInterception Concept to invoke method, and by not using "TestMethod" attribute

    Hello, I want to create custom attribute which will work as "TestMethod" attribute and in class methods, instead of writing {TestMethod] - I want to use custom AOP attribute, but I am not able to do that, can someone help? namespace Framework.Attributes { /// <summary> /// This...
  13. P

    Question How to use aspect oriented programming concept in custom attributes to avoid writing try catch in methods

    Hello Team, In my tests, I want to introduce exception handling and if exception occurs, then to log error in extent report - So for that I'm thinking if I can use attribute using aspect oriented concept, but the only issue I'm facing is how do I access the logger, which is mentioned in...
  14. P

    Resolved How to create abstraction of a file which has too many methods

    Hello Everyone, I have one file which is of common method and has too many methods inside a single class file, now I want to create hierarchy so it can be divided further with the help of abstraction, I tried few things but then I got confused on how to access different methods? using Base...
  15. P

    Not able to click on checkbox

    Hello Everyone, I have one html form which has label with checkbox option but also has "a" tag, so with the XPath instead of clicking on checkbox it clicks on link attached to that label HTML Element <div class="form-group"> <label for="chkTermAndCondition">...
  16. P

    Resolved Facing an issue including Dictionary method in Json class

    I had JSON string which I converted to JSON Class, and now I want to add Dictionary method insode my JSON class which will return me certain values from JSON class variables And for that I am facing an issue including Dictionary method in Json class c# Can someone help where can I include that...
  17. P

    Answered Trouble in parsing AE currency price to double value

    I have one function which parses the string text to double value and it works for almost all cultures except UAE Code public static double Parse(string text, string culture) { return double.Parse(text.Replace(" ", ""), NumberStyles.AllowCurrencySymbol |...
  18. P

    Question Issue in mapping property from excel data table to list

    I have testdata model, and I want to map the column values to existing class hierarchy property's and currently it is not mapping the values and shows NULL value For instance in test data model i have field paymentOptions and in excel sheet the value is KlarnaOptions but after the map of...
  19. P

    How to access values from 2 datatable as tabel1.tabel2.columnname in C#

    I have one test data model and one excel book which has multiple sheets! all the sheet is having the same unique key "Test1" and I have a function which fetches all the data from all sheets having that key name "Test1" Now after join - I get one table having all the column name and values But...
  20. P

    How do I convert my SQL query to Entity Framework DBContext

    Hello All, I have one query which I wrote in SQL but now i want to convert it to EF and I am finding difficulty on understanding how do I incorporate multiple select statements in EF SQL Query: SELECT TOP {count} * FROM ( SELECT co.orderid,co.orderStatusId...
Back
Top Bottom