March 13, 2023

Scrum Values | Scrum Vs Agile | Scrum Values Retrospective | Scrum Values Explained | Scrum Master

This blog post is on Scrum. I will explain Scrum values, the difference between Scrum and Agile, the importance of Scrum retrospectives, the five core values of Scrum and the role of the Scrum master. First, please view Agile values video. Next, please view my Scrum values video below for a detailed understanding or read on.

Scrum vs Agile: The difference between Scrum and Agile is that Agile is a project management methodology that emphasizes flexibility and rapid iteration, but Scrum is an Agile framework that is specifically designed for software development. While both Agile and Scrum share some values and principles, Scrum has a more defined structure and roles e.g. the Scrum Master. The Scrum business value is that Scrum helps rapid iteration and continuous improvement, which allows teams to quickly adapt to changing business needs and deliver value to their customers.

Scrum Values Retrospective: Retrospectives (or Retros in short) are meetings. Retrospectives are an important part of Scrum and help teams reflect on their performance and identify  improvement opportunities. The goal of any Scrum retrospective is to improve the team's performance and achieve the Scrum values. In a retrospective meeting, the Scrum team figures out how to apply the Scrum values.

Scrum Values explained: There are Scrum pillars and values. Scrum is based on three pillars: transparency, inspection and adaptation. There are 5 values in Scrum. The three pillars support the five values of Scrum. The Scrum values are Commitment, Courage, Focus, Openness and Respect:

  1. The first of Agile Scrum values is Scrum Value Commitment. Suppose a team member is consistently not completing the tasks they commit to during sprint planning. How can the team address this issue in a way that aligns with the Scrum value of Commitment? The possible solutions are that the team can have a conversation with the team member to understand the reasons for their lack of follow-through and work together to find a solution. The team can also help the team member to identify an appropriate level of commitment and provide support to help them achieve it. 
  2. The second of 5 Scrum values is the Scrum Value Courage. Suppose a team member is afraid to speak up about a problem that they have identified in the project. How can the team address this issue in a way that aligns with the Scrum value of Courage? The possible solutions are to have a culture where it is safe to raise concerns and by encouraging team members to speak up. The team can also provide support and resources to help the team member overcome their fear and take action.
  3. The third of Scrum team values is the Scrum Value Focus. Suppose the team is continuously getting sidetracked and not completing all of their tasks. How can the team address this issue in a way that aligns with the Scrum value of Focus? The possible solutions are by setting clear goals and priorities for each sprint. The team can establish daily scrums to stay on track and remove any distractions. The team can also work together to identify and remove any obstacles that may prevent them from staying focused.
  4. The fourth of five scrum values is Scrum Value Openness. Suppose the team is not receiving feedback from stakeholders like the client on a regular basis. How can the team address this issue in a way that aligns with the Scrum value of Openness? The possible solutions are by reaching out to stakeholders for feedback regularly and encouraging open communication. The team can also establish a culture of continuous improvement and seek feedback from stakeholders actively to drive progress.
  5. The fifth Scrum Value is Respect. Suppose a team member interrupts others during meetings, not allowing them to speak. How can the team address this issue in a way that aligns with the Scrum value of Respect? The possible solutions are by having a conversation with the team member to explain the impact of their behavior on the team. The team can have ground rules for meetings and enforce them strictly. The team can give an opportunity to the team member to understand how their behavior affects the team and encourage them to respect the opinions and contributions of their team members.
Scrum Master: The Scrum master is a facilitator who helps the team work together effectively and efficiently. They are responsible for removing any obstacles that may prevent the team from achieving their goals and help the team follow Scrum values and principles. Agile Scrum Master is someone who has been trained and certified in the Scrum framework. They should have a deep understanding of Agile principles and be able to guide teams in the successful implementation of Scrum. 
 
Conclusion: Scrum values are important to the successful implementation of Scrum. Remember to keep the values of commitment, courage, focus, openness and respect in mind to have a productive and efficient team. The role of the Scrum Master is crucial in guiding the team to follow Scrum values. Thank you 🙏

March 09, 2023

SelectorsHub Expert Tutorial - Shadow DOM | iFrame | SVG XPath CSS - SelectorsHub

This is the fourth SelectorsHub tutorial in my SelectorsHub free full course. In this SelectorsHub training, I explain how you can save time by using the features of the SelectorsHub tool, find locators in Selenium etc. for web elements in shadow DOM or iFrame or both shadow DOM and iFrame etc. Learn how to use SelectorsHub to find the correct and unique locators for shadow DOM, iFrame, static SVG images and dynamic SVG images and SelectorsHub user interface customization by viewing SelectorsHub expert tutorial below or read on...

I show how to install SelectorsHub in my previous tutorial so you can install SelectorsHub software testing tool, if you have not already done that.

SelectorsHub Shadow DOM: As I mentioned in the second tutorial, a shadow DOM is outside the main DOM. Basically, a shadow DOM keeps some web elements inside it and the shadow DOM is attached to a web element in the DOM. Only CSS selectors work for shadow DOM and not XPath. You can try it on the SelectorsHub practice page. On it, if you scroll down a little, there is the UserName. Right click it and click on Inspect, which should open developer tools and SelectorsHub pane. In SelectorsHub, it should say that this is inside Shadow DOM, which can't be accessed through XPath so use CSS selector. You can copy the CSS selector to the SelectorsHub smart editor and press the Enter key to find the web element. SelectorsHub should say that one element is matching. SelectorsHub also shows some sample code, that you can copy and modify for use in your test automation script written using Selenium WebDriver etc. 

iFrames: As I mentioned in the second tutorial, iframes are used to make a web page layout. The iframe can be from the same domain or it can be a cross origin iframe. Cross origin iframe means that the iframe is from another domain. If the web element that you inspect is within an iframe, SelectorsHub should say that this web element is inside iframe and you should switch inside iframe to access it through automation. SelectorsHub should give the correct locator of both the web element and the iframe that it is located in.

You can try the cross-origin iframe on this blog, Software Testing Space's Followers widget in the right-side pane. Followers is basically a cross origin iframe. If you right click on one of the followers and click on Inspect, SelectorsHub should recognize that this web element is inside cross origin iframe. How to find XPath of such a web element? For a web element inside cross origin iframe, you can copy selectors by right click on the element, hover to SelectorsHub, copy the XPath and paste XPath in Selenium WebDriver script or your test automation tool. 

SelectorsHub SVG XPath: SVG stands for Scalable Vector Graphics. It is a format for two-dimensional images and it is commonly used in the web pages. Now, SVG elements have a special XPath syntax. SelectorsHub should support both static SVG as well as dynamic SVG. You can try it on the SelectorsHub practice page on the image below "Can you enter name here through automation". On inspecting an SVG, SelectorsHub should say that it's an SVG element and it doesn't support standard XPath format. So, you can copy the XPath generated in a special format by SelectorsHub and use that locator in your test automation script. SelectorsHub also supports dynamic SVG. I have shown dynamic SVG inspection by SelectorsHub tool in my SelectorsHub expert tutorial above. 

SelectorsHub SH selector: SelectorsHub can convert your XPath into CSS selector. SH selector means the SelectorsHub selector that is a CSS selector generated from your XPath by SelectorsHub.

Conclusion: SelectorsHub is a useful tool in web testing for automation testing engineers to enhance their productivity and efficiency, by finding the correct and unique locators for web elements in shadow DOM or iframes or both shadow DOM and iframes and SVG web elements too. Thank you 🙏

Labels: selectorshub, selectors, selenium, locators, tutorial, xpath, locators in selenium, css, selectorshub training, selectorshub tool, xpath selectorshub, xpath in selenium, xpath in selenium webdriver, how to find xpath,in selenium webdriver, how to, selectorshub free full course, tutorial selectorshub, selectorshub shadow dom, iframes, svg, expert

March 04, 2023

SelectorsHub Advanced Tutorial - Dynamic Elements XPath Selectorshub | Generate Multiple Locators and Automation Testing Code

This is the third SelectorsHub tutorial in my SelectorsHub free full course. I explain how to get XPath or CSS selectors for dynamic or difficult web elements and generate multiple XPath and automation testing code. Learn how to use SelectorsHub to find the correct and unique locators for dynamic or difficult web elements by viewing SelectorsHub advanced tutorial below or read on...

SelectorsHub debugger: SelectorsHub has a debugger feature. It is useful when the web element that you are trying to inspect becomes invisible on inspecting. If so, how to find XPath in Selenium WebDriver or other tools for such a web element? You can turn on the debugger in SelectorsHub which stops the web page after 5 Seconds. So, you have 5 seconds in which you need to make that web element visible. I show how this works to get CSS selectors or XPath in Selenium Webdriver or other tools in the above video. I  try to inspect a web element on a website so I right click on it but as soon as I right-click, it disappears. You can find a similar situation on other websites. The solution is that I can use the SelectorsHub debugger feature. In SelectorsHub, there is an icon which says Turn on Debugger. After turning on the debugger, I have 5 seconds to make that web element visible. After 5 seconds, SelectorsHub pauses the web page and I can inspect the web element as usual.

It is possible that the web element disappears within the 5 seconds debugger time. Still, I can use the SelectorsHub tool to find the XPath or CSS selector in Selenium Webdriver or other tools. What I need to do is just click on the icon whose tooltip is Click to customize UI. There I get Debugger start time and I can change it to zero. After changing it to zero, go back to the home screen of SelectorsHub and try again (make the element visible and turn on debugger). This time the debugger should start immediately, pausing the web page. Then I can use SelectorsHub to inspect that element successfully.

Multiple locators: In test automation you don't need just one but different locators in Selenium Webdriver or other tools. In SelectorsHub, I can click the icon whose tooltip says Click to generate automation code or multiple selectors. Then inspect the web elements one by one then I can copy all the XPaths or CSS selectors or if I had set the driver command earlier (read next paragraph), I can even copy the automation testing code or even page object model code. I show this process in the above video to get multiple locators on this blog, Software Testing Space.

Automation testing code: I can not only get multiple selectors like XPath or CSS selectors but I can get the complete command and for that I need click on the icon whose tooltip says Set driver command to append on selectors. Then click on the icon to generate automation code or multiple selectors. You can view the example in the above video.

Verify XPaths: In SelectorsHub usage, you should know about SelectorsHub smart maintenance. I can verify multiple XPaths or I can even verify the complete script by pasting it and giving the XPath command. Again, you can see the example of smart maintenance in the above video.

In conclusion, SelectorsHub is a useful tool for automation testing engineers and web developers to enhance their productivity and efficiency by finding the correct and unique locators for dynamic or difficult web elements and generating multiple XPath and automation testing code. Thank you 🙏

Labels: Locators in selenium, Xpath in selenium webdriver, How to find xpath in selenium webdriver, CSS selector in selenium webdriver, SelectorsHub tutorial, XPath, Selectorshub free full course, Selectorshub tool, Locators in selenium webdriver, Selenium, Locators, Selenium webdriver, Xpath in selenium webdriver, Xpath in selenium, CSS selector, Webdriver, CSS selectors, Automation testing, Test automation