i
ITC Infotech
Filter interviews by
posted on 10 Nov 2024
I applied via Naukri.com and was interviewed in Oct 2024. There was 1 interview round.
Code to count the occurrences of each letter in a string and print the result
Iterate through each character in the string
Use a dictionary to store the count of each letter
Print the count of each letter at the end
Appium server can be started using command line, programmatically in code, or using Appium desktop app.
Start Appium server using command line by running 'appium' command
Start Appium server programmatically in code using Appium server programmatically in code using AppiumDriverLocalService class
Start Appium server using Appium desktop app by launching the app and starting the server
Tests can be run parallel for mobile devices using test automation frameworks like Appium or Espresso.
Use test automation frameworks like Appium or Espresso to run tests parallel for mobile devices
Leverage cloud-based testing platforms like Sauce Labs or BrowserStack for parallel testing on multiple devices
Implement parallel test execution using tools like TestNG or JUnit in combination with Appium or Espresso
Utilize d...
Automating OTP in mobile involves using automation tools to interact with the OTP input field and validate the received OTP.
Use automation tools like Appium or Espresso to interact with the OTP input field
Extract the OTP from the message received on the mobile device
Validate the extracted OTP with the OTP input field
Handle scenarios where OTP validation fails
Desired capabilities are a set of properties or attributes that define the behavior of a browser or mobile device in Selenium automation testing.
Desired capabilities are key-value pairs that are used to configure the WebDriver instances in Selenium.
They can be used to set properties like browser name, version, platform, and other settings.
For example, setting 'browserName' to 'chrome' will launch the Chrome browser dur
To run tests on iOS or Android devices using Appium, specify the platformName capability in desired capabilities.
Specify platformName capability as 'iOS' for iOS devices and 'Android' for Android devices
Include other necessary desired capabilities like deviceName, platformVersion, appPackage, appActivity, etc.
Example: capabilities.setCapability('platformName', 'iOS');
Setting up automation for iOS devices involves using tools like Appium and Xcode for testing mobile applications.
Install Xcode on your Mac machine
Set up Appium for iOS automation
Connect your iOS device to the Mac machine
Create test scripts using Appium for iOS apps
Execute the test scripts on the connected iOS device
posted on 28 Jun 2024
I applied via LinkedIn and was interviewed in May 2024. There was 1 interview round.
Program to print occurrence of characters in a given string
Create a map to store characters and their counts
Iterate through the string and update the counts in the map
Print the characters and their counts from the map
Program to find sum of any two elements in an array equal to -1
Iterate through the array and for each element, check if there exists another element whose sum is equal to -1
Use a hashmap to store the elements and their indices for faster lookup
Handle edge cases like empty array or array with less than 2 elements
Example: For array [-2, 3, 5, -3, 8], the pairs (-2, 1) and (3, -3) have sum equal to -1
Use browser developer tools to inspect element and generate xpath
Inspect element using browser developer tools
Right click on element and select 'Copy' -> 'Copy XPath'
Modify generated xpath if needed to make it more robust
posted on 23 Nov 2023
I applied via LinkedIn and was interviewed in Oct 2023. There were 2 interview rounds.
posted on 13 May 2024
I applied via Naukri.com and was interviewed in Apr 2024. There was 1 interview round.
HashSet is a collection that does not allow duplicate elements, while hashCode is a method used to generate a unique integer value for an object.
HashSet is a collection class in Java that does not allow duplicate elements.
HashCode is a method in Java that returns a unique integer value for an object.
HashSet uses hashCode method to determine uniqueness of elements.
Example: HashSet
posted on 1 May 2024
Keywords in Java are reserved words that have special meaning and cannot be used as identifiers.
public
static
void
class
extends
posted on 19 Feb 2020
I applied via Naukri.com and was interviewed in Aug 2019. There were 4 interview rounds.
posted on 21 Mar 2024
I applied via Naukri.com and was interviewed before Mar 2023. There were 2 interview rounds.
posted on 19 Jul 2022
I applied via Naukri.com and was interviewed before Jul 2021. There were 3 interview rounds.
Java code to reverse a string with exception handling and waits in Selenium
Use StringBuilder to reverse the string
Use try-catch block for exception handling
Use implicit or explicit waits in Selenium for synchronization
Example: String originalString = "hello"; StringBuilder reversedString = new StringBuilder(originalString).reverse();
Example: try { // code that may throw exception } catch (Exception e) { // handle excep
posted on 17 Jan 2022
based on 2 reviews
Rating in categories
Associate Information Technology Consultant
5.2k
salaries
| ₹4.1 L/yr - ₹17.2 L/yr |
Lead Consultant
4.4k
salaries
| ₹9 L/yr - ₹35.4 L/yr |
Associate Consultant
830
salaries
| ₹1.5 L/yr - ₹16 L/yr |
Software Engineer
499
salaries
| ₹4 L/yr - ₹16.3 L/yr |
Software Developer
363
salaries
| ₹2.3 L/yr - ₹13 L/yr |
TCS
Wipro
HCLTech
Tech Mahindra