In this video it shows the fix for the error “Value of type org.json.JSONArray cannot be converted to JSONObject”. It reproduces this error by trying to convert a JSONArray to JSONObject. And then fixes it by rightly converting it into JSONArray and then using the index to get the right…
Tag: object
How to take CSS Selector/Xpath using regular expression in Selenium?
In this video will see how to take CSS Selector/Xpath using regular expression in Selenium. We need to take regular expression when attribute values are so long or partially change every time. In that case we need to do unique partial match for values with the help of regular expressions….
How to write xpath in Selenium when properties has no unique values?
In this video will see how to take xpath in selenium when there are no unique values are present any element or attribute values are dynamic (changing on every page load). I hope you like this video. For any questions, suggestions or appreciation please contact us at: https://programmerworld.co/contact/ or email…