• Slider Banner

    Prepare for

    Technical Interview

    Over .1 Million+ Interview Questions for different profiles

    Read More
  • Slider Banner

    Join the

    Programming World

    Learn about top programming languages, tools and frameworks.

    Read More
  • Slider Banner

    Prepare with

    Certification MCQ

    Practice for certification from 1000+ multiple choice questions.

    Read More

How to establish an Instagram Aesthetic ?

Instagram is the platform for captivating content and brands can capitalize on this with consistent and creative posts.


Instagram is a huge channel that has garnered more than 500 million users, 4.2 billion likes and more than 95 million photos and videos posted per day. To establish a distinct brand aesthetic - a well-curated feed, and an effective community management strategy- all stemming from your own unique brand identity. 


Here aesthetic means the well integrated and general impression of a user's posts. Being consistent with the core brand values you are aligning brand with your target audience. Therefore building awareness. 

Here are few ideas for building your aesthetic:

1. Know the brand identity: A great part of your aesthetic will derive from Brand identity. What’s your brand personality and tonality? What are its values? Is your brand playful? Adventurous? Bold and daring?

2.Determine your Target Audience: It is very important to know existing and future customers. So that the communication is curated in such a way what they love about your brand, products, and services. Then, reflect that back to them in your Instagram feed.

3. Create a story with each photo displayed on the post: The more compelling your story, the less it would feel to your customers that you’re just selling them something and bring the loyality from them.

4. Choose a color palette, “feel,” or filter: Using a color palette, filter, or even texture in your Instagram posts can give you that much sought-after level of consistency in your feeds.

5. Post content that reflects your brand’s core value: In a creative way you can always showcase your product or services.You can also post user-generated content (UGC) posts sourced from customers and followers- to build brand trust and awareness.

6. Plan ahead: Most well-organized Instagram aesthetics are organized and planned ahead.

7. Create a branded hashtag: A branded hashtag is unique to a company, product, or event that is used to help promote whatever it represents.
 

 

 

 

Why is Selenium a choice tool for automation testing?

  • It is open source
  • It supports distributed testing
  • It has regular repository developments
  • It has a large user base and support community
  • It has wide platform compatibility – Windows, Mac OS, and Linux, etc. 
  • It has cross-browser compatibility – Internet Explorer, Chrome, Firefox, Safari, etc.
  • It supports multiple programming languages – Java, C#, Ruby, Perl, Python, etc.

What are the multiple ways to click on Submit button in Selenium?

Here are the list of techniques:

.click() method: You can use .click() method to click on any button of software web application. Means element's type = "button" or type = "submit", .click() method will works for both.

WebElement myButton = driver.findElement(By.cssSelector("locator"));
myButton.click();

.submit() method: If you will look at firebug view for any form's submit button then always It's type will be "submit". In this case, .submit() method Is very good alternative of .click() method.

WebElement myButton = driver.findElement(By.cssSelector("locator"));
myButton.submit();

Keys.Enter: 

WebElement myButton = driver.findElement(By.cssSelector("locator"));
myButton.sendKeys(Keys.ENTER);

Action Class:

WebElement myButton = driver.findElement(By.cssSelector(locator));
Actions builder = new Actions(driver);
    builder
        .moveToElement(myButton)
        .click()
        .build()
        .perform();

JavaScriptExecutor:

WebElement myButton = driver.findElement(By.cssSelector(locator));
JavascriptExecutor js = (JavascriptExecutor)driver;		
js.executeScript("arguments[0].click();", myButton);

Can we use Selenium Grid with JMeter for Performance testing?

Yes its possible. You need to install Selenium/Webdriver Support plugin.

Also add, Logic Controller -> jp@gc-Remote Driver Config, Simple Controller and Sampler -> jp@gc WebDriver Sample.

In Remote Driver Config and write your selenium grid URL. You should change 127.0.0.1 to your real existing selenium grid server IP/url. Change capability to Chrome. If you want to use different browser, you must reRegister node to Grid Hub with different settings.

What are the challenges with Rest Assured?

Below is the list of Challenges with Rest Assured:

Language Support: Support only Java Language.

Not Easy to learn: Implementation is not easy. Good Java knowledge required.

Performance Testing: Not integrated with tool.

What are the challenges with PageFactory?

Below are the challenges with PageFactory:

No of Pages: If there is an application with hundreds or thousands of web pages then the time and the effort in the development of automation framework will be high.

Maintenance Overhead: The cost increases when maintenance overhead increases which are due to the maintenance of large class as they break the OO design principle.

Programming Best Practices: The development of POM framework for multiple pages is equal to developers work thus testers should be highly knowledgeable in programming best practices.

Not Generic Model: Page object model is not a generic model and its specific to the applications.

The best approach to overcome the above challenges is by refactoring the POM concept to Screenplay Pattern.

What are different API Optimisation Techniques?

Below are the different techniques:

Compression Techniques: Use JSON serializer and gZip compress techniques for the data transmitted over the web.
Use faster data access strategies
Caching: Have heard somewhere that the "fastest HTTP call is the one that you don't make" that is, use caching(Memcache/Redis), most of the requests are read operations, wise use of cache control headers are also useful. That spares the database from serving repeated read requests which are expensive. (Not sure if Etags can be of any use ?)
Use asynchronous methods judiciously
make as few API calls as possible
Programming level: use code optimization/threading/parallel programming.
Geography: Account for the distance between end users and origin servers, we can use CDNs for storing the static contents of the response, so that it can be served real fast.
API level: use pagination/filters/ranges to generate fine-grained data that is tailored to the need of the client.

What are checked and unchecked Exception in Java?

Checked Exception: are the exceptions that are checked at compile time. If some code within a method throws a checked exception, then the method must either handle the exception or it must specify the exception using throws keyword.

  • FileNotFoundException
  • IOException
  • ClassNotFoundException
  • SQLException 
  • DataAccessException
  • InvocationTargetException
  • MalformedURLException

Unchecked Exception: Unchecked are the exceptions that are not checked at compiled time. 

  • NullPointerException
  • ArrayIndexOutOfBound
  • IllegalArgumentException
  • IllegalStateException
  • IllegalStateException

If Timeout of Explicit wait is 30 Seconds and Timeout for Implicit Wait is 60 seconds, Consider element is not found then for how much time script will wait before the exception is thrown.

Case 1: When Implicit Wait > Explicit Wait. For Example Implicit Wait is 60 seconds and Explicit Wait is 30 Seconds.

Then, Script will wait for 60 seconds.

Case 2: When Explicit Wait > Implicit Wait. For Example Implicit Wait is 20 seconds and Explicit Wait is 40 Seconds.

Then, Script will wait for 40 seconds.

Subscribe to